Changed window.location.href to search.
This commit is contained in:
parent
3cf52b018c
commit
e15b0c7d90
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@
|
|||
var configPromise = loadConfig(config);
|
||||
|
||||
function processInit() {
|
||||
var callback = parseCallback(window.location.href);
|
||||
var callback = parseCallback(window.location.search);
|
||||
|
||||
if (callback) {
|
||||
window.history.replaceState({}, null, location.protocol + '//' + location.host + location.pathname + (callback.fragment ? '#' + callback.fragment : ''));
|
||||
|
@ -766,4 +766,4 @@
|
|||
}
|
||||
}
|
||||
|
||||
})( window );
|
||||
})( window );
|
||||
|
|
Loading…
Reference in a new issue