We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0f623e commit 2e654ffCopy full SHA for 2e654ff
1 file changed
addon/lint/lint.js
@@ -56,16 +56,14 @@
56
if (tooltip) { hideTooltip(tooltip); tooltip = null; }
57
}
58
59
- if (!cm.state.lint.options.fixedTooltip) {
60
- var poll = setInterval(function() {
61
- if (tooltip) for (var n = node;; n = n.parentNode) {
62
- if (n && n.nodeType == 11) n = n.host;
63
- if (n == document.body) return;
64
- if (!n) { hide(); break; }
65
- }
66
- if (!tooltip) return clearInterval(poll);
67
- }, 400);
68
+ var poll = setInterval(function() {
+ if (tooltip) for (var n = node;; n = n.parentNode) {
+ if (n && n.nodeType == 11) n = n.host;
+ if (n == document.body) return;
+ if (!n) { hide(); break; }
+ }
+ if (!tooltip) return clearInterval(poll);
+ }, 400);
69
70
CodeMirror.on(node, "mouseout", hide);
71
0 commit comments