Skip to content

Commit

Permalink
added hot fix for vitrail lively4 support again in codemirror
Browse files Browse the repository at this point in the history
SQUASHED: AUTO-COMMIT-src-external-code-mirror-lib-codemirror.js,
  • Loading branch information
JensLincke committed Jun 18, 2024
1 parent 38d73ac commit 5e0664a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/external/code-mirror/lib/codemirror.js
Original file line number Diff line number Diff line change
Expand Up @@ -4090,7 +4090,7 @@
var active = activeElt(root(cm));
if (!active
// #Lively4 #Vitrail #Hack needed for restoring focus when codemirror panes are in codemirror
|| !contains(cm.display.lineDiv, active)
// || !contains(cm.display.lineDiv, active)
) { return null }
var result = {activeElt: active};
if (window.getSelection) {
Expand Down

0 comments on commit 5e0664a

Please sign in to comment.