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:
Waseem Daher 2012-11-02 14:31:16 -04:00
parent f75fc44a4e
commit d545ae4884
1 changed files with 1 additions and 1 deletions

View File

@ -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