mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-29 04:57:02 +00:00
Update editor.html
This commit is contained in:
parent
46a3049d62
commit
434f5d4a8d
|
@ -287,7 +287,7 @@
|
|||
id: 3,
|
||||
method: 'Runtime.evaluate',
|
||||
params: {
|
||||
expression: "((e)=>e[e.length-1].querySelector('code')?.innerText||['/*\n',e[e.length-1].innerText,'\n*/'].join(''))(document.querySelectorAll('[data-content=ai-message]'))"
|
||||
expression: '((e)=>e[e.length-1].querySelector("code")?.innerText||e[e.length-1].innerText)(document.querySelectorAll("[data-content=ai-message]"))'
|
||||
}
|
||||
}
|
||||
];
|
||||
|
@ -297,7 +297,7 @@
|
|||
if (step.id == 3) {
|
||||
setTimeout(() => {
|
||||
socket.send(JSON.stringify(step));
|
||||
}, 7000);
|
||||
}, 9000);
|
||||
} else {
|
||||
socket.send(JSON.stringify(step));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user