mirror of https://github.com/zulip/zulip.git
Bugfix: event -> e.
The fact that we're inconsistent about this in our functions is definitely going to lead to more bugs of this form down the road. (imported from commit 907badcb28c0834729e21436c621255fa6584d44)
This commit is contained in:
parent
f75fc44a4e
commit
d545ae4884
|
@ -161,7 +161,7 @@ exports.set_compose = function () {
|
|||
$(document).keydown(function (e) {
|
||||
pressed_keys[e.which] = true;
|
||||
if ((num_pressed_keys() >= 2) &&
|
||||
(48 <= event.which && event.which <= 90) &&
|
||||
(48 <= e.which && e.which <= 90) &&
|
||||
(pressed_keys[17] === true ||
|
||||
pressed_keys[91] === true)) {
|
||||
// If the user typed 2 or more characters, one of which was
|
||||
|
|
Loading…
Reference in New Issue