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:
Brock Whittaker
2017-04-12 11:58:31 -07:00
committed by Tim Abbott
parent 1a89928999
commit 2ae23054ee
7 changed files with 23 additions and 6 deletions

View File

@@ -124,6 +124,7 @@ $(document).ready(function () {
callback: function (name, key) {
$(".overlay-modal").hide();
$("#" + key).show();
$("#" + key).find(".modal-body").focus();
},
}).get();