Don't show tooltip if the mouse left the link
This commit is contained in:
parent
fe09814281
commit
1f04cef0b8
|
@ -5,6 +5,8 @@ Changelog
|
|||
1.0 (unreleased)
|
||||
----------------
|
||||
|
||||
- Don't show tooltip if the mouse left the link.
|
||||
|
||||
- Don't call tokenToUrl if value is --NOVALUE--.
|
||||
[vincentfretin]
|
||||
|
||||
|
|
|
@ -64,6 +64,12 @@ $(document).ready(function() {
|
|||
}
|
||||
};
|
||||
|
||||
$(document).delegate('.link-tooltip', 'mouseleave', function() {
|
||||
if (pendingCall.procID) {
|
||||
clearTimeout(pendingCall.procID);
|
||||
pendingCall.procID = null;
|
||||
}
|
||||
});
|
||||
$(document).delegate('.link-tooltip', 'mouseenter', function() {
|
||||
var trigger = $(this);
|
||||
if (!trigger.data('tooltip')) {
|
||||
|
|
Reference in New Issue