DOn't show flyouts on tabbing for now (not accessible), fixes #19191
git-svn-id: http://svn.automattic.com/wordpress/trunk@19426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
974108d57c
commit
b2a114b952
|
@ -206,13 +206,6 @@ $(document).ready( function() {
|
||||||
interval: 90
|
interval: 90
|
||||||
});
|
});
|
||||||
|
|
||||||
// Admin menu keyboard navigation.
|
|
||||||
$('li.wp-has-submenu').focusin( function() {
|
|
||||||
$(this).addClass('focused');
|
|
||||||
}).focusout( function() {
|
|
||||||
$(this).removeClass('focused');
|
|
||||||
});
|
|
||||||
|
|
||||||
// If the mouse is used on the menu, shift focus to the mouse.
|
// If the mouse is used on the menu, shift focus to the mouse.
|
||||||
menu.mouseover( function(e) {
|
menu.mouseover( function(e) {
|
||||||
$('li.focused', this).removeClass('focused');
|
$('li.focused', this).removeClass('focused');
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -61,7 +61,7 @@ function wp_default_scripts( &$scripts ) {
|
||||||
|
|
||||||
$scripts->add( 'utils', "/wp-admin/js/utils$suffix.js", false, '20101110' );
|
$scripts->add( 'utils', "/wp-admin/js/utils$suffix.js", false, '20101110' );
|
||||||
|
|
||||||
$scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20111119', 1 );
|
$scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20111123', 1 );
|
||||||
$scripts->localize( 'common', 'commonL10n', array(
|
$scripts->localize( 'common', 'commonL10n', array(
|
||||||
'warnDelete' => __("You are about to permanently delete the selected items.\n 'Cancel' to stop, 'OK' to delete.")
|
'warnDelete' => __("You are about to permanently delete the selected items.\n 'Cancel' to stop, 'OK' to delete.")
|
||||||
) );
|
) );
|
||||||
|
|
Loading…
Reference in New Issue