1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-13 17:16:48 +00:00

Fix: remove cancelPopups from codemirror engine (#4310)

This commit is contained in:
Simon Huber 2019-10-12 17:40:51 +02:00 committed by Jeremy Ruston
parent 007fc8239b
commit 920f0869c4

View File

@ -125,9 +125,6 @@ function CodeMirrorEngine(options) {
event.stopPropagation(); // Otherwise TW's dropzone widget sees the drop event
return false;
});
this.cm.on("focus",function() {
self.widget.cancelPopups();
});
this.cm.on("keydown",function(cm,event) {
return self.widget.handleKeydownEvent.call(self.widget,event);
});