Fix collapsed menu transition glitch, props rosshanney, fixes #17534

git-svn-id: http://svn.automattic.com/wordpress/trunk@18138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-06-04 06:23:06 +00:00
parent 190670e218
commit 1c9a877290
3 changed files with 5 additions and 3 deletions

View File

@ -74,7 +74,9 @@ adminMenu = {
}
m.addClass('sub-open');
},
out: function(){ $(this).find('.wp-submenu').removeClass('sub-open').css({'marginTop':''}); },
out: function(){
$(this).find('.wp-submenu').removeClass('sub-open');
},
timeout: 220,
sensitivity: 8,
interval: 100

File diff suppressed because one or more lines are too long

View File

@ -64,7 +64,7 @@ function wp_default_scripts( &$scripts ) {
$scripts->add( 'utils', "/wp-admin/js/utils$suffix.js", false, '20101110' );
$scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20110528' );
$scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20110603' );
$scripts->add_data( 'common', 'group', 1 );
$scripts->localize( 'common', 'commonL10n', array(
'warnDelete' => __("You are about to permanently delete the selected items.\n 'Cancel' to stop, 'OK' to delete."),