Explorar el Código

Make mentions readonly for now (#419)

Danilo Bargen hace 7 años
padre
commit
882105dc2a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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;
     }