From 10d63dff9a51276cb2979af5849650c08dc2c7cd Mon Sep 17 00:00:00 2001 From: acrefoot Date: Mon, 10 Jun 2013 15:34:11 -0400 Subject: [PATCH] stop emails regarding bad hotkey parsing Why are our tests so incomplete? (imported from commit 8d94a95f514edeb6ddb74774224fee062af3b5df) --- zephyr/static/js/hotkey.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr/static/js/hotkey.js b/zephyr/static/js/hotkey.js index b2934cf248..c5671b2d29 100644 --- a/zephyr/static/js/hotkey.js +++ b/zephyr/static/js/hotkey.js @@ -116,7 +116,7 @@ function process_hotkey(e) { } if (directional_hotkeys_id.hasOwnProperty(code) - && directional_hotkeys_id.hasOwnProperty[code].charCode === charCode) { + && directional_hotkeys_id[code].charCode === charCode) { if (current_msg_list.empty()) { return false; }