mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 19:39:20 +02:00
Fix embedded location
This commit is contained in:
parent
f81dce5e70
commit
85e5173abe
1 changed files with 2 additions and 2 deletions
|
@ -90,12 +90,12 @@ function onMessage(message) {
|
|||
needsLogin = true;
|
||||
submessage.share = false;
|
||||
shareAfterLogin = true;
|
||||
snapshotToShareAfterLogin = {path: submessage.localPath, href: submessage.href};
|
||||
snapshotToShareAfterLogin = {path: submessage.localPath, href: submessage.href || href};
|
||||
}
|
||||
if (submessage.share) {
|
||||
print('sharing', submessage.localPath);
|
||||
outstanding = true;
|
||||
Window.shareSnapshot(submessage.localPath, submessage.href);
|
||||
Window.shareSnapshot(submessage.localPath, submessage.href || href);
|
||||
} else {
|
||||
print('not sharing', submessage.localPath);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue