mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 03:04:34 +00:00
git-svn-id: https://develop.svn.wordpress.org/trunk@16874 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -45,19 +45,18 @@ adminMenu = {
|
||||
});
|
||||
},
|
||||
|
||||
toggle : function(el) {
|
||||
var id = el.slideToggle(150, function() {
|
||||
el.parent().toggleClass( 'wp-menu-open' );
|
||||
}).attr('id');
|
||||
|
||||
if ( id ) {
|
||||
$('li.wp-has-submenu', '#adminmenu').each(function(i, e) {
|
||||
if ( id == e.id ) {
|
||||
var v = $(e).hasClass('wp-menu-open') ? 'o' : 'c';
|
||||
setUserSetting( 'm'+i, v );
|
||||
}
|
||||
});
|
||||
}
|
||||
toggle : function(el) {
|
||||
el.slideToggle(150, function() {
|
||||
var id = el.parent().toggleClass( 'wp-menu-open' ).attr('id');
|
||||
if ( id ) {
|
||||
$('li.wp-has-submenu', '#adminmenu').each(function(i, e) {
|
||||
if ( id == e.id ) {
|
||||
var v = $(e).hasClass('wp-menu-open') ? 'o' : 'c';
|
||||
setUserSetting( 'm'+i, v );
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user