Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

hotkey: Fix incorrect input to inbox change focus function.

Aman Agrawal274eac33138f
diff --git a/web/src/hotkey.js b/web/src/hotkey.js
index 3cb3b34d73a..af6cfca8411 100644
--- a/web/src/hotkey.js
+++ b/web/src/hotkey.js
@@ -256,7 +256,7 @@ export function process_escape_key(e) {
return true;
}
- if (inbox_util.is_in_focus() && inbox_ui.change_focused_element($(e.target), "escape")) {
+ if (inbox_util.is_in_focus() && inbox_ui.change_focused_element("escape")) {
return true;
}