SimpleChat: Rename the half asleep mis-spelled global var

This commit is contained in:
HanishKVC 2024-05-23 15:23:47 +05:30
parent 40fbbeb2f6
commit 5d84a92d62

View file

@ -508,17 +508,17 @@ class MultiChatUI {
}
let gMuitChat;
let gMultiChat;
const gChatIds = [ "Default", "Other" ];
function startme() {
console.log("INFO:SimpleChat:StartMe:Starting...");
gMuitChat = new MultiChatUI();
gMultiChat = new MultiChatUI();
for (let cid of gChatIds) {
gMuitChat.new_chat_session(cid);
gMultiChat.new_chat_session(cid);
}
gMuitChat.setup_ui(gChatIds[0], true);
gMuitChat.show_sessions();
gMultiChat.setup_ui(gChatIds[0], true);
gMultiChat.show_sessions();
}
document.addEventListener("DOMContentLoaded", startme);