mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
hotkey: Fix exiting the subscriptions page with "escape".
This had apparently regressed because it was checking the wrong selector, and also didn't do the right thing to exit.
This commit is contained in:
parent
9f1fca30df
commit
81a19375d2
@ -195,7 +195,7 @@ function process_hotkey(e) {
|
||||
if ($("#overlay").hasClass("show")) {
|
||||
ui.exit_lightbox_photo();
|
||||
return true;
|
||||
} else if ($("#subscription_overlay").hasClass("show")) {
|
||||
} else if ($("#subscription_overlay").is(":visible")) {
|
||||
$("#subscription_overlay").click();
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user