diff --git a/web/app/assets/javascripts/utils.js b/web/app/assets/javascripts/utils.js index b7641dbbc..8dec17326 100644 --- a/web/app/assets/javascripts/utils.js +++ b/web/app/assets/javascripts/utils.js @@ -341,15 +341,16 @@ $(bubbleSelector).hover( function () { + $(this).data('hovering', true) // do nothing when entering the bubble }, function () { - $(this).fadeOut(fadeoutValue); + $(this).data('hovering', false).fadeOut(fadeoutValue); } ); // first check to see if the user isn't hovering over the hover bubble - if (!$(bubbleSelector).is(":hover")) { + if (!$(bubbleSelector).data('hovering')) { $(bubbleSelector).fadeOut(fadeoutValue); } }