From 50fcc1caaab973e7306c3fd4623b9f11be5d0a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Wed, 30 Jun 2021 10:40:53 +0200 Subject: [PATCH] Fixing signature of openCoWebSite --- front/src/iframe_api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/iframe_api.ts b/front/src/iframe_api.ts index 0264d0a6..9fa204b9 100644 --- a/front/src/iframe_api.ts +++ b/front/src/iframe_api.ts @@ -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;