Enable ctrl+k room filter focus
By using the `focus_room_filter` dispatchpull/21833/head
parent
569ea909c4
commit
0dbd1d988e
|
@ -184,6 +184,13 @@ export default React.createClass({
|
||||||
handled = true;
|
handled = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case KeyCode.KEY_K:
|
||||||
|
if (ev.ctrlKey && !ev.shiftKey && !ev.altKey && !ev.metaKey) {
|
||||||
|
dis.dispatch({
|
||||||
|
action: 'focus_room_filter',
|
||||||
|
});
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (handled) {
|
if (handled) {
|
||||||
|
|
Loading…
Reference in New Issue