浏览代码

Make mentions readonly for now (#419)

Danilo Bargen 7 年之前
父节点
当前提交
882105dc2a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/partials/messenger.ts

+ 2 - 1
src/partials/messenger.ts

@@ -629,6 +629,7 @@ class ConversationController {
      * Handle mention selector navigation
      */
     public onComposeKeyDown = (ev: KeyboardEvent): boolean => {
+        /* Make mentions readonly for now
         if (this.showMentionSelector() && !ev.shiftKey) {
             let move = ev.key === 'ArrowDown' ? 1 : (ev.key === 'ArrowUp' ? - 1 : 0);
             if (move !== 0) {
@@ -659,7 +660,7 @@ class ConversationController {
                 return false;
             }
         }
-
+        */
         return true;
     }