Skip to content

Commit

Permalink
Fixed #20 - Tooltip won't hide on fast mouse moves
Browse files Browse the repository at this point in the history
  • Loading branch information
Eli Fenton committed Jan 15, 2024
1 parent 80033ef commit 1410601
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin.info.txt
@@ -1,7 +1,7 @@
base autotooltip
author Eli Fenton
email
date 2020-11-22
date 2024-01-15
name Auto-Tooltip
desc Syntax and helper plugins for tooltips, including automatically generated tips based on page abstract.
url https://www.dokuwiki.org/plugin:autotooltip
4 changes: 3 additions & 1 deletion script.js
Expand Up @@ -104,7 +104,9 @@ var autotooltip = function($) {
_move(evt);
clearInterval(m_timer);
m_timer = setTimeout(function() {
m_tt.addClass('plugin-autotooltip--visible');
if (m_visible) {
m_tt.addClass('plugin-autotooltip--visible');
}
}, parseInt($(elt).attr('data-delay')) || 50);
},

Expand Down

0 comments on commit 1410601

Please sign in to comment.