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

This commit is contained in:
Jörn Zaefferer 2011-07-14 11:10:28 -04:00
parent f41d2378f9
commit 11d24ee84c

View File

@ -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() {