mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
Allow search hotkey to work from outside the home tab.
(imported from commit 9b8944ce57a6b7466e7b115258e2501afd7cb5b1)
This commit is contained in:
@@ -115,9 +115,7 @@ function process_hotkey(e) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disable hotkeys on settings page etc., and when a modal pop-up
|
if (ui.home_tab_obscured() && event_name !== 'search') {
|
||||||
// is visible.
|
|
||||||
if (ui.home_tab_obscured()) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user