Browse Source

Bug fix - choosing shortcut with ENTER deletes the space preceding the @

Vijayakrishnan 2 years ago
parent
commit
6cbbac186f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js-dev/shortcut.js

+ 1 - 1
js-dev/shortcut.js

@@ -91,7 +91,7 @@
                     document.execCommand("delete", true, null);
                 }
             }
-            if(_clearReturn) document.execCommand("delete", true, null);
+            // if(_clearReturn) document.execCommand("delete", true, null);
             document.execCommand("insertText", true, options[index].value);
             discard();
         }