Skip to content
Permalink
Browse files

Menu: Fix formatting and whitespace (was supposed to update previous …

…commit)
  • Loading branch information...
jzaefferer committed Jul 14, 2011
1 parent f41d237 commit 11d24ee84cc29adf7349b08031146936cf4dd9a9
Showing with 7 additions and 4 deletions.
  1. +7 −4 ui/jquery.ui.menu.js
@@ -301,10 +301,13 @@ $.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() {
self._close();

0 comments on commit 11d24ee

Please sign in to comment.
You can’t perform that action at this time.