소스 검색

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