Increment the menu ID so the first menu works. props junsuijin. fixes #12339
git-svn-id: http://svn.automattic.com/wordpress/trunk@13365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
020862b5a4
commit
1ed4ece13d
|
@ -180,7 +180,7 @@ function appendToList(templatedir,additemtype,itemtext,itemurl,itemid,itemparent
|
||||||
inputdescription = '';
|
inputdescription = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
var count=document.getElementById('custom-nav').getElementsByTagName('li').length;
|
var count=document.getElementById('custom-nav').getElementsByTagName('li').length + 1;
|
||||||
|
|
||||||
var randomnumber = count;
|
var randomnumber = count;
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue