Allow URLs relative to map base in iframe / openWebsite

This commit is contained in:
znerol 2021-01-30 17:51:07 +01:00
parent e07efbdf28
commit 9670f92a08
2 changed files with 3 additions and 3 deletions

View file

@ -653,7 +653,7 @@ export class GameScene extends ResizableScene implements CenterListener {
coWebsiteManager.closeCoWebsite();
}else{
const openWebsiteFunction = () => {
coWebsiteManager.loadCoWebsite(newValue as string, allProps.get('openWebsitePolicy') as string | undefined);
coWebsiteManager.loadCoWebsite(newValue as string, this.MapUrlFile, allProps.get('openWebsitePolicy') as string | undefined);
layoutManager.removeActionButton('openWebsite', this.userInputManager);
};