mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
This fixes https://trac.humbughq.com/ticket/546. It's a little unpleasant that this special-casing lives in hotkey.js -- instead you could imagine doing something where there was a whole special set of hotkeys when a search is active, like we do with the composebox, but this gets the job and is probably simplest. I would have written this as a case that just falls through in the else condition, but jslint doesn't like that. (imported from commit 65a1b8aa1efc356b6690dc177058a4fb9e12745a)