Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
info_overlay: Fix initial keyboard focus in keyboard shortcuts help.
Lalit866c91d5a572
diff --git a/web/src/info_overlay.js b/web/src/info_overlay.jsindex afbce6f0c1e..e70fe42af53 100644--- a/web/src/info_overlay.js+++ b/web/src/info_overlay.js@@ -257,10 +257,6 @@ export function set_up_toggler() {}export function show(target) {- if (!toggler) {- set_up_toggler();- }-const $overlay = $(".informational-overlays");if (!$overlay.hasClass("show")) {@@ -273,6 +269,10 @@ export function show(target) {});}+ if (!toggler) {+ set_up_toggler();+ }+if (target) {toggler.goto(target);}