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

Function up

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

Source from the content-addressed store, hash-verified

4022 addClass(lineDiv, "CodeMirror-crosshair");
4023
4024 function up(e) {
4025 if (e.keyCode == 18 || !e.altKey) {
4026 rmClass(lineDiv, "CodeMirror-crosshair");
4027 off(document, "keyup", up);
4028 off(document, "mouseover", up);
4029 }
4030 }
4031 on(document, "keyup", up);
4032 on(document, "mouseover", up);
4033 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected