From d35026467eb9a5f67d6ec0c99f2a24d418b8e3a5 Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Mon, 2 Sep 2024 20:52:46 -0400 Subject: [PATCH] fix: use jq el for focus --- src/gui/src/services/ExecService.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/src/services/ExecService.js b/src/gui/src/services/ExecService.js index 2146f758..15ef144c 100644 --- a/src/gui/src/services/ExecService.js +++ b/src/gui/src/services/ExecService.js @@ -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(); } });