We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f41d237 commit 11d24eeCopy full SHA for 11d24ee
ui/jquery.ui.menu.js
@@ -301,10 +301,13 @@ $.widget( "ui.menu", {
301
302
_startOpening: function( submenu ) {
303
clearTimeout( this.timer );
304
-
305
- //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
306
- if ( submenu.attr( "aria-hidden" ) !== "true" ) return;
307
+
+ // 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" ) {
308
+ return;
309
+ }
310
311
var self = this;
312
self.timer = setTimeout( function() {
313
self._close();
0 commit comments