summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-10-13 12:29:10 -0400
committerGitHub <noreply@github.com>2016-10-13 12:29:10 -0400
commitc902a0a773f1162e57034a193278136922c494ec (patch)
tree49be0d5a99c69b8b165e38d4c248a47ae8c23fdd /webapp
parent69e90255aa594b54667b9caf18fa3b5e33e13649 (diff)
downloadchat-c902a0a773f1162e57034a193278136922c494ec.tar.gz
chat-c902a0a773f1162e57034a193278136922c494ec.tar.bz2
chat-c902a0a773f1162e57034a193278136922c494ec.zip
Fix shortcut for selecting text with CMD/CTRL + SHIFT (#4213)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/channel_header.jsx2
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);
}