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);
|
var configPromise = loadConfig(config);
|
||||||
|
|
||||||
function processInit() {
|
function processInit() {
|
||||||
var callback = parseCallback(window.location.href);
|
var callback = parseCallback(window.location.search);
|
||||||
|
|
||||||
if (callback) {
|
if (callback) {
|
||||||
window.history.replaceState({}, null, location.protocol + '//' + location.host + location.pathname + (callback.fragment ? '#' + callback.fragment : ''));
|
window.history.replaceState({}, null, location.protocol + '//' + location.host + location.pathname + (callback.fragment ? '#' + callback.fragment : ''));
|
||||||
|
|
Loading…
Reference in a new issue