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.
This commit is contained in:
JFH
2020-07-02 01:26:18 +02:00
parent 2056049bc4
commit 7a41fdffe8

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
}
/**