Skip to content
Browse files

Menu: Check if submenu is already open and if so, don't call open aga…

…in. Fixes Firefox bug where a mouseover of an icon adjusted the position of a submenu by a half pixel
  • Loading branch information
kborchers authored and jzaefferer committed Jul 14, 2011
1 parent 2803417 commit f41d2378f95bc88165833487a923f90061d3f138
Showing with 4 additions and 0 deletions.
  1. +4 −0 ui/
@@ -301,6 +301,10 @@ $.widget( "", {

_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;

var self = this;
self.timer = setTimeout( function() {

0 comments on commit f41d237

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