Merge pull request #2262 from realies/master

stop propagation, prevent input history call when alt is involved
This commit is contained in:
Jérémie Astori 2018-03-20 19:23:22 -04:00 committed by GitHub
commit d7d8a51332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
}