mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 19:29:54 +02:00
Fix interstitial page not displaying at Interface start-up
This commit is contained in:
parent
2dfd63f4e7
commit
2fdb114e4b
1 changed files with 6 additions and 0 deletions
|
@ -607,5 +607,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// location.hostname may already be set by the time the script is loaded.
|
||||||
|
// Show the interstitial page if the domain isn't loaded.
|
||||||
|
if (!location.isConnected) {
|
||||||
|
domainChanged(location.hostname);
|
||||||
|
}
|
||||||
|
|
||||||
Script.scriptEnding.connect(cleanup);
|
Script.scriptEnding.connect(cleanup);
|
||||||
}());
|
}());
|
||||||
|
|
Loading…
Reference in a new issue