mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
format
This commit is contained in:
4
src-tauri/src/scripts/core.js
vendored
4
src-tauri/src/scripts/core.js
vendored
@@ -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') {
|
||||||
|
|||||||
Reference in New Issue
Block a user