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

Function maybeClear

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

Source from the content-addressed store, hash-verified

595 var where = cm.cursorCoords();
596 var tip = cm.state.ternTooltip = makeTooltip(where.right + 1, where.bottom, content);
597 function maybeClear() {
598 old = true;
599 if (!mouseOnTip) clear();
600 }
601 function clear() {
602 cm.state.ternTooltip = null;
603 if (!tip.parentNode) return;

Callers

nothing calls this directly

Calls 1

clearFunction · 0.70

Tested by

no test coverage detected