stop propagation, prevent input history call when alt is involved

This commit is contained in:
realies 2018-03-20 21:00:03 +02:00
parent 453eab3a12
commit 72af0a4947
2 changed files with 5 additions and 1 deletions

View File

@ -55,6 +55,8 @@ Mousetrap.bind([
}
channels.eq(target).click();
return false;
});
Mousetrap.bind([
@ -87,6 +89,8 @@ Mousetrap.bind([
}
lobbies.eq(target).click();
return false;
});
Mousetrap.bind([

View File

@ -56,7 +56,7 @@ import jQuery from "jquery";
case 38: // Up
case 40: // Down
// NOTICE: This is specific to The Lounge.
if (e.ctrlKey || e.metaKey || self.data("autocompleting")) {
if (e.ctrlKey || e.altKey || e.metaKey || self.data("autocompleting")) {
break;
}