Преглед изворни кода

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

Vijayakrishnan пре 2 година
родитељ
комит
6cbbac186f
1 измењених фајлова са 1 додато и 1 уклоњено
  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();
         }