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