Get page URL from window.parent.location instead of window.location for iframe
This commit is contained in:
parent
2dd901b1d5
commit
47a73cfa6c
@ -132,7 +132,11 @@ export default {
|
||||
execAction: new ExecAction(),
|
||||
logger: null,
|
||||
|
||||
site: window.location.hostname,
|
||||
// we _should_ be always running from an iframe in order to
|
||||
// avoid fucking up CSS. This means rules of the game change
|
||||
// a wee tiny bit.
|
||||
site: window.parent.location.hostname,
|
||||
lastProbeTs: null,
|
||||
|
||||
uiVisible: true,
|
||||
debugData: {
|
||||
|
Loading…
Reference in New Issue
Block a user