mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Menu: Fix formatting and whitespace (was supposed to update previous commit)
This commit is contained in:
parent
f41d2378f9
commit
11d24ee84c
7
ui/jquery.ui.menu.js
vendored
7
ui/jquery.ui.menu.js
vendored
@ -302,8 +302,11 @@ $.widget( "ui.menu", {
|
||||
_startOpening: function( submenu ) {
|
||||
clearTimeout( this.timer );
|
||||
|
||||
//Don't open if already open fixes a Firefox bug that caused a .5 pixel shift in the submenu position when mousing over the carat icon
|
||||
if ( submenu.attr( "aria-hidden" ) !== "true" ) return;
|
||||
// Don't open if already open fixes a Firefox bug that caused a .5 pixel
|
||||
// shift in the submenu position when mousing over the carat icon
|
||||
if ( submenu.attr( "aria-hidden" ) !== "true" ) {
|
||||
return;
|
||||
}
|
||||
|
||||
var self = this;
|
||||
self.timer = setTimeout( function() {
|
||||
|
Loading…
Reference in New Issue
Block a user