diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-10-13 12:29:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-13 12:29:10 -0400 |
commit | c902a0a773f1162e57034a193278136922c494ec (patch) | |
tree | 49be0d5a99c69b8b165e38d4c248a47ae8c23fdd /webapp/components/channel_header.jsx | |
parent | 69e90255aa594b54667b9caf18fa3b5e33e13649 (diff) | |
download | chat-c902a0a773f1162e57034a193278136922c494ec.tar.gz chat-c902a0a773f1162e57034a193278136922c494ec.tar.bz2 chat-c902a0a773f1162e57034a193278136922c494ec.zip |
Fix shortcut for selecting text with CMD/CTRL + SHIFT (#4213)
Diffstat (limited to 'webapp/components/channel_header.jsx')
-rw-r--r-- | webapp/components/channel_header.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/channel_header.jsx b/webapp/components/channel_header.jsx index 2bd52fa23..bd57271ed 100644 --- a/webapp/components/channel_header.jsx +++ b/webapp/components/channel_header.jsx @@ -162,8 +162,8 @@ export default class ChannelHeader extends React.Component { handleShortcut(e) { if (Utils.cmdOrCtrlPressed(e) && e.shiftKey) { - e.preventDefault(); if (e.keyCode === Constants.KeyCodes.M) { + e.preventDefault(); this.searchMentions(e); } |