diff --git a/src/index.js b/src/index.js index 81e9800b..449f3bc9 100644 --- a/src/index.js +++ b/src/index.js @@ -389,7 +389,7 @@ if (!singleInstanceLock) { } if (input.key === "Enter" && input.control) { - context.webContents.executeJavaScript( + context.executeJavaScript( `document.querySelector('[data-icon="send"]').click()` ); e.preventDefault();