Commit 836d3946 authored by JC Brand's avatar JC Brand

Ignore keycodes if meta key is also pressed

parent 0d928edf
...@@ -996,7 +996,7 @@ converse.plugins.add('converse-chatview', { ...@@ -996,7 +996,7 @@ converse.plugins.add('converse-chatview', {
// When ctrl is pressed, no chars are entered into the textarea. // When ctrl is pressed, no chars are entered into the textarea.
return; return;
} }
if (!ev.shiftKey && !ev.altKey) { if (!ev.shiftKey && !ev.altKey && !ev.metaKey) {
if (ev.keyCode === _converse.keycodes.FORWARD_SLASH) { if (ev.keyCode === _converse.keycodes.FORWARD_SLASH) {
// Forward slash is used to run commands. Nothing to do here. // Forward slash is used to run commands. Nothing to do here.
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment