Fixed remote issue

This commit is contained in:
Kasper Rynning-Tønnesen
2019-08-05 12:24:59 +02:00
parent 9993a377b8
commit ad8bc0c05b
3 changed files with 8 additions and 50 deletions

View File

@@ -13,11 +13,7 @@ var Hostcontroller = {
Hostcontroller.old_id = id;
}
var codeURL =
window.location.protocol +
"//remote." +
window.location.hostname +
"/" +
id;
window.location.protocol + "//remote." + window.location.host + "/" + id;
if (embed) {
if (window.parentWindow && window.parentOrigin) {
window.parentWindow.postMessage(