Remove message slide-down effect on the nav-menus.php page. props lessbloat, fixes #23714.
git-svn-id: http://core.svn.wordpress.org/trunk@23640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
51db623107
commit
1e555a03a1
|
@ -7162,10 +7162,6 @@ a.rsswidget {
|
||||||
|
|
||||||
/* nav-menu */
|
/* nav-menu */
|
||||||
|
|
||||||
.nav-menus-php #message {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.no-js #message {
|
.no-js #message {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,8 +48,6 @@ var wpNavMenu;
|
||||||
if( oneThemeLocationNoMenus )
|
if( oneThemeLocationNoMenus )
|
||||||
$( '#posttype-page' ).addSelectedToMenu( api.addMenuItemToBottom );
|
$( '#posttype-page' ).addSelectedToMenu( api.addMenuItemToBottom );
|
||||||
|
|
||||||
this.messageFadeIn();
|
|
||||||
|
|
||||||
this.initAccessibility();
|
this.initAccessibility();
|
||||||
|
|
||||||
this.initToggles();
|
this.initToggles();
|
||||||
|
@ -379,13 +377,6 @@ var wpNavMenu;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
messageFadeIn : function() {
|
|
||||||
var messages = $( '#message' );
|
|
||||||
|
|
||||||
// Visual change when users save menus multiple times in a row
|
|
||||||
messages.slideDown( 'slow' );
|
|
||||||
},
|
|
||||||
|
|
||||||
initToggles : function() {
|
initToggles : function() {
|
||||||
// init postboxes
|
// init postboxes
|
||||||
postboxes.add_postbox_toggles('nav-menus');
|
postboxes.add_postbox_toggles('nav-menus');
|
||||||
|
|
Loading…
Reference in New Issue