* use hover events (js) instead of CSS to detect if hovering VRFS-2097
This commit is contained in:
parent
12ca12f3cf
commit
94efaf8a8e
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue