Преглед на файлове

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();
         }