Merge pull request #527 from oliverlorenz/feature/iframe-feature-policy

feat: adds property openWebsitePolicy property to set "allow" property in iframe
This commit is contained in:
grégoire parant
2021-02-03 17:38:35 +01:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -644,7 +644,7 @@ export class GameScene extends ResizableScene implements CenterListener {
coWebsiteManager.closeCoWebsite();
}else{
const openWebsiteFunction = () => {
coWebsiteManager.loadCoWebsite(newValue as string);
coWebsiteManager.loadCoWebsite(newValue as string, allProps.get('openWebsitePolicy') as string | undefined);
layoutManager.removeActionButton('openWebsite', this.userInputManager);
};