summaryrefslogtreecommitdiffstats
path: root/webapp/components/navbar.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/navbar.jsx')
-rw-r--r--webapp/components/navbar.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/navbar.jsx b/webapp/components/navbar.jsx
index c8fa29e34..bd151dffa 100644
--- a/webapp/components/navbar.jsx
+++ b/webapp/components/navbar.jsx
@@ -163,7 +163,7 @@ export default class Navbar extends React.Component {
});
}
showChannelSwitchModal(e) {
- if ((e.ctrlKey || e.metaKey) && e.keyCode === Constants.KeyCodes.K) {
+ if (Utils.cmdOrCtrlPressed(e) && e.keyCode === Constants.KeyCodes.K) {
e.preventDefault();
this.setState({
showChannelSwitchModal: true