Skip to content
Snippets Groups Projects
Commit e792201c authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

back out ctrl-alt-number room switching as nobody used it and it broke Tor's keyboard

parent 40da7f50
No related branches found
No related tags found
No related merge requests found
......@@ -344,6 +344,9 @@ module.exports = {
onKeyDown: function(ev) {
if (ev.altKey) {
/*
// Remove this for now as ctrl+alt = alt-gr so this breaks keyboards which rely on alt-gr for numbers
// Will need to find a better meta key if anyone actually cares about using this.
if (ev.ctrlKey && ev.keyCode > 48 && ev.keyCode < 58) {
dis.dispatch({
action: 'view_indexed_room',
......@@ -353,6 +356,7 @@ module.exports = {
ev.preventDefault();
return;
}
*/
switch (ev.keyCode) {
case 38:
dis.dispatch({action: 'view_prev_room'});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment