make query strings work with pagejs
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
if (urlQueryString.has('lang')) {
|
||||
urlQueryString.delete('lang');
|
||||
var newUrl = [location.protocol, '//', location.host, location.pathname].join('') +
|
||||
urlQueryString.toString() +
|
||||
(urlQueryString.toString() !== '' ? '?' + urlQueryString.toString() : '') +
|
||||
window.location.hash;
|
||||
window.location = newUrl;
|
||||
return;
|
||||
|
Reference in New Issue
Block a user