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

Function clear

static/editor.md/lib/codemirror/addon/tern/tern.js:601–608  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

599 if (!mouseOnTip) clear();
600 }
601 function clear() {
602 cm.state.ternTooltip = null;
603 if (!tip.parentNode) return;
604 cm.off("cursorActivity", clear);
605 cm.off('blur', clear);
606 cm.off('scroll', clear);
607 fadeOut(tip);
608 }
609 var mouseOnTip = false, old = false;
610 CodeMirror.on(tip, "mousemove", function() { mouseOnTip = true; });
611 CodeMirror.on(tip, "mouseout", function(e) {

Callers 2

maybeClearFunction · 0.70
tempTooltipFunction · 0.70

Calls 1

fadeOutFunction · 0.85

Tested by

no test coverage detected