mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-30 13:37:03 +00:00
Update editor.html
This commit is contained in:
parent
46a3049d62
commit
434f5d4a8d
|
@ -287,7 +287,7 @@
|
||||||
id: 3,
|
id: 3,
|
||||||
method: 'Runtime.evaluate',
|
method: 'Runtime.evaluate',
|
||||||
params: {
|
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) {
|
if (step.id == 3) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
socket.send(JSON.stringify(step));
|
socket.send(JSON.stringify(step));
|
||||||
}, 7000);
|
}, 9000);
|
||||||
} else {
|
} else {
|
||||||
socket.send(JSON.stringify(step));
|
socket.send(JSON.stringify(step));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user