Fixing signature of openCoWebSite

This commit is contained in:
David Négrier 2021-06-30 10:40:53 +02:00
parent c5949a0337
commit 50fcc1caaa

View file

@ -22,7 +22,7 @@ interface WorkAdventureApi {
openPopup(targetObject: string, message: string, buttons: ButtonDescriptor[]): Popup;
openTab(url : string): void;
goToPage(url : string): void;
openCoWebSite(url : string, allowApi: boolean, allowPolicy: string): void;
openCoWebSite(url : string, allowApi?: boolean, allowPolicy?: string): void;
closeCoWebSite(): void;
disablePlayerControls(): void;
restorePlayerControls(): void;