Prechádzať zdrojové kódy

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

Vijayakrishnan 2 rokov pred
rodič
commit
6cbbac186f
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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();
         }