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

Function done

static/editor.md/lib/codemirror/lib/codemirror.js:3658–3665  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

3656 }
3657
3658 function done(e) {
3659 counter = Infinity;
3660 e_preventDefault(e);
3661 display.input.focus();
3662 off(document, "mousemove", move);
3663 off(document, "mouseup", up);
3664 doc.history.lastSelOrigin = null;
3665 }
3666
3667 var move = operation(cm, function(e) {
3668 if (!e_button(e)) done(e);

Callers 1

leftButtonSelectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected