This commit is contained in:
cyhhao
2023-02-14 16:18:52 +08:00
parent 95f8c16be0
commit fde75aa81e

View File

@@ -102,8 +102,8 @@ async function init() {
}); });
// Fix Chinese input method "Enter" on Safari // Fix Chinese input method "Enter" on Safari
document.addEventListener("keydown",(e)=>{ document.addEventListener("keydown", (e) => {
if(e.keyCode==229) e.stopPropagation(); if(e.keyCode == 229) e.stopPropagation();
}, true) }, true)
if (window.location.host === 'chat.openai.com') { if (window.location.host === 'chat.openai.com') {