Merge pull request #1757 from ValdoTR/typos

Fixed some typos :)
This commit is contained in:
David Négrier 2022-01-25 21:06:24 +01:00 committed by GitHub
commit 2cf51a058a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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));
});
}