Remove old code that breaks menu design rendering. props koopersmith, fixes #13311.

git-svn-id: https://develop.svn.wordpress.org/trunk@14530 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-05-10 04:49:52 +00:00
parent 581779a30d
commit 1cdd8d707e
2 changed files with 1 additions and 11 deletions

View File

@ -47,8 +47,6 @@ var wpNavMenu;
this.initToggles();
this.initTabManager();
this.checkForEmptyMenu();
},
jQueryExtensions : function() {
@ -759,14 +757,6 @@ var wpNavMenu;
el.remove();
children.shiftDepthClass(-1).updateParentMenuItemDBId();
api.recalculateMenuItemPositions();
that.checkForEmptyMenu();
});
},
checkForEmptyMenu : function() {
if( api.menuList.children().length ) return;
api.menuList.height(80).one('sortstop', function(){
$(this).height('auto');
});
},

File diff suppressed because one or more lines are too long