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:
markjaquith 2010-02-24 07:58:14 +00:00
parent 020862b5a4
commit 1ed4ece13d
2 changed files with 2 additions and 2 deletions

View File

@ -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