Changed window.location.href to search.

This commit is contained in:
Juraci Paixão Kröhling 2014-06-30 17:56:53 +02:00
parent 3cf52b018c
commit e15b0c7d90

View file

@ -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 : ''));
@ -766,4 +766,4 @@
} }
} }
})( window ); })( window );