Explorar o código

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

Vijayakrishnan %!s(int64=2) %!d(string=hai) anos
pai
achega
6cbbac186f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
         }