Update app.js
This commit is contained in:
10
js/app.js
10
js/app.js
@@ -52,12 +52,18 @@ const streamerBotClient = new StreamerbotClient({
|
|||||||
title: currentLang.streamerbotconnected,
|
title: currentLang.streamerbotconnected,
|
||||||
text: ``
|
text: ``
|
||||||
});
|
});
|
||||||
if (eventsMockup == true) { stopMockupSystem(); }
|
if (eventsMockup == true) {
|
||||||
|
chatContainer.innerHTML = '';
|
||||||
|
stopMockupSystem();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onDisconnect: () => {
|
onDisconnect: () => {
|
||||||
console.error(currentLang.streamerbotdisconnected);
|
console.error(currentLang.streamerbotdisconnected);
|
||||||
streamerBotConnected = false;
|
streamerBotConnected = false;
|
||||||
if (eventsMockup == true) { startMockupSystem(); }
|
if (eventsMockup == true) {
|
||||||
|
startMockupSystem();
|
||||||
|
chatContainer.innerHTML = '';
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user