fix: use jq el for focus

This commit is contained in:
KernelDeimos 2024-09-02 20:52:46 -04:00
parent cd39bb5aa0
commit d35026467e

View File

@ -51,8 +51,8 @@ export class ExecService extends Service {
// If `window-active` is set (meanign the window is focused), focus the window one more time
// this is to ensure that the iframe is `definitely` focused and can receive keyboard events (e.g. keydown)
if(child_process.el_win.hasClass('window-active')){
child_process.el_win.focusWindow();
if($(child_process.references.el_win).hasClass('window-active')){
$(child_process.references.el_win).focusWindow();
}
});