Explorar o código

Ignore keycodes if meta key is also pressed

JC Brand %!s(int64=6) %!d(string=hai) anos
pai
achega
836d3946e8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/converse-chatview.js

+ 1 - 1
src/converse-chatview.js

@@ -996,7 +996,7 @@ converse.plugins.add('converse-chatview', {
                     // When ctrl is pressed, no chars are entered into the textarea.
                     return;
                 }
-                if (!ev.shiftKey && !ev.altKey) {
+                if (!ev.shiftKey && !ev.altKey && !ev.metaKey) {
                     if (ev.keyCode === _converse.keycodes.FORWARD_SLASH) {
                         // Forward slash is used to run commands. Nothing to do here.
                         return;