set the focus to body so shortcut keys can work...

.. previously, the imaglib was setting the focus onto the iFrame which is a a different DOM tree so key events were not passed down to our code.
master
JFH 2020-07-02 01:26:18 +02:00
parent 2056049bc4
commit 7a41fdffe8
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ export default {
*/
function closeBrowser () {
$('#imgbrowse_holder').hide();
document.activeElement.blur(); // make sure focus is the body to correct issue #417
}
/**