diff --git a/src-tauri/src/scripts/core.js b/src-tauri/src/scripts/core.js index d852b55..2a3bc47 100644 --- a/src-tauri/src/scripts/core.js +++ b/src-tauri/src/scripts/core.js @@ -102,8 +102,8 @@ async function init() { }); // Fix Chinese input method "Enter" on Safari - document.addEventListener("keydown",(e)=>{ - if(e.keyCode==229) e.stopPropagation(); + document.addEventListener("keydown", (e) => { + if(e.keyCode == 229) e.stopPropagation(); }, true) if (window.location.host === 'chat.openai.com') {