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

git-svn-id: http://svn.automattic.com/wordpress/trunk@14530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-05-10 04:49:52 +00:00
parent 0c99110a58
commit 544d3d0f84
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