MCPcopy Create free account
hub / github.com/TruthHun/BookStack / hideTooltip

Function hideTooltip

static/editor.md/lib/codemirror/addon/lint/lint.js:34–39  ·  view source on GitHub ↗
(tt)

Source from the content-addressed store, hash-verified

32 if (elt.parentNode) elt.parentNode.removeChild(elt);
33 }
34 function hideTooltip(tt) {
35 if (!tt.parentNode) return;
36 if (tt.style.opacity == null) rm(tt);
37 tt.style.opacity = 0;
38 setTimeout(function() { rm(tt); }, 600);
39 }
40
41 function showTooltipFor(e, content, node) {
42 var tooltip = showTooltip(e, content);

Callers 1

hideFunction · 0.85

Calls 1

rmFunction · 0.70

Tested by

no test coverage detected