stop emails regarding bad hotkey parsing

Why are our tests so incomplete?

(imported from commit 8d94a95f514edeb6ddb74774224fee062af3b5df)
This commit is contained in:
acrefoot 2013-06-10 15:34:11 -04:00
parent b3be518b5a
commit 10d63dff9a

View File

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