Allow search hotkey to work from outside the home tab.

(imported from commit 9b8944ce57a6b7466e7b115258e2501afd7cb5b1)
This commit is contained in:
Steve Howell 2013-11-19 13:23:41 -05:00
parent db29e60249
commit 2c2d18bc7a
1 changed files with 1 additions and 3 deletions

View File

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