Bugs - review co-pilote - returned before changing code
This commit is contained in:
parent
59a3efa6f7
commit
899694a17f
1 changed files with 2 additions and 2 deletions
|
|
@ -171,7 +171,7 @@ function handleChat(_url: string, _args: RouteHandlerParams): RouteHandlerReturn
|
||||||
});
|
});
|
||||||
|
|
||||||
window.addEventListener("blur", () => {
|
window.addEventListener("blur", () => {
|
||||||
bconnected.click();
|
//bconnected.click();
|
||||||
console.log("%cWindow is not focused on /chat", color.red);
|
console.log("%cWindow is not focused on /chat", color.red);
|
||||||
if (socket.id)
|
if (socket.id)
|
||||||
windowStateHidden();
|
windowStateHidden();
|
||||||
|
|
@ -252,7 +252,7 @@ function handleChat(_url: string, _args: RouteHandlerParams): RouteHandlerReturn
|
||||||
bconnected.click();
|
bconnected.click();
|
||||||
setInterval(async () => {
|
setInterval(async () => {
|
||||||
bconnected.click();
|
bconnected.click();
|
||||||
}, 50000); // every 1 second
|
}, 10000); // every 10 second
|
||||||
|
|
||||||
// Help Text button
|
// Help Text button
|
||||||
bconnected?.addEventListener("click", async () => {
|
bconnected?.addEventListener("click", async () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue