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

Function done

static/mergely/lib/codemirror.js:3786–3794  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

3784 }
3785
3786 function done(e) {
3787 cm.state.selectingText = false;
3788 counter = Infinity;
3789 e_preventDefault(e);
3790 display.input.focus();
3791 off(document, "mousemove", move);
3792 off(document, "mouseup", up);
3793 doc.history.lastSelOrigin = null;
3794 }
3795
3796 var move = operation(cm, function(e) {
3797 if (!e_button(e)) done(e);

Callers 1

leftButtonSelectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected