Fixed some typos :)

This commit is contained in:
Valdo Romao 2022-01-25 19:43:27 +00:00
parent ad2dd1c8d5
commit aefb28d895
5 changed files with 17 additions and 19 deletions

View file

@ -8,7 +8,6 @@ import type { ButtonClickedEvent } from "./Events/ButtonClickedEvent";
import { ClosePopupEvent, isClosePopupEvent } from "./Events/ClosePopupEvent";
import { scriptUtils } from "./ScriptUtils";
import { isGoToPageEvent } from "./Events/GoToPageEvent";
import { isCloseCoWebsite, CloseCoWebsiteEvent } from "./Events/CloseCoWebsiteEvent";
import {
IframeErrorAnswerEvent,
IframeQueryMap,

View file

@ -1,4 +1,3 @@
import { coWebsiteManager, CoWebsite } from "../WebRtc/CoWebsiteManager";
import { playersStore } from "../Stores/PlayersStore";
import { chatMessagesStore } from "../Stores/ChatStore";
import type { ChatEvent } from "./Events/ChatEvent";

View file

@ -512,7 +512,7 @@ class CoWebsiteManager {
if (this.coWebsites.length < 1) {
this.loadMain();
} else if (this.coWebsites.length === 5) {
throw new Error("Too many we");
throw new Error("Too many websites");
}
Promise.resolve(callback(this.cowebsiteBufferDom))
@ -580,7 +580,7 @@ class CoWebsiteManager {
return reject();
});
})
.catch((e) => console.error("Error loadCoWebsite >=> ", e));
.catch((e) => console.error("Error loadCoWebsite => ", e));
});
}