diff options
Diffstat (limited to 'src/editor.mjs')
-rw-r--r-- | src/editor.mjs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/editor.mjs b/src/editor.mjs index ea80a19..c04ba24 100644 --- a/src/editor.mjs +++ b/src/editor.mjs | |||
@@ -476,6 +476,7 @@ const addSuggestions = (anchor, suggestions) => { | |||
476 | // EVENT: Suggests for current selection {{{ | 476 | // EVENT: Suggests for current selection {{{ |
477 | // FIXME Dont show suggestion when selecting multiple chars | 477 | // FIXME Dont show suggestion when selecting multiple chars |
478 | cm.on("cursorActivity", (_) => { | 478 | cm.on("cursorActivity", (_) => { |
479 | menu.style.display = 'none' | ||
479 | const anchor = cm.getCursor() | 480 | const anchor = cm.getCursor() |
480 | 481 | ||
481 | if (insideCodeblockForMap(anchor)) { | 482 | if (insideCodeblockForMap(anchor)) { |