mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 15:09:34 +00:00
informational-overlays: Focus overlay body on shortcut "?".
This focuses the body content of the informational overlay after going to it from "?" so that you can use up and down arrows to then scroll the content easily. Fixes: #4480.
This commit is contained in:
committed by
Tim Abbott
parent
1a89928999
commit
2ae23054ee
@@ -124,6 +124,7 @@ $(document).ready(function () {
|
||||
callback: function (name, key) {
|
||||
$(".overlay-modal").hide();
|
||||
$("#" + key).show();
|
||||
$("#" + key).find(".modal-body").focus();
|
||||
},
|
||||
}).get();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user