Commit 02009fef authored by Tomas Pettersson's avatar Tomas Pettersson 🏸
Browse files

bugfix

parent 4d6581af
...@@ -29,7 +29,7 @@ var STWkit = { ...@@ -29,7 +29,7 @@ var STWkit = {
return -1; return -1;
}, },
updateUrl: function(params) { updateUrl: function(params) {
var search = STWkit.getSearchUrl(param); var search = this.getSearchUrl(params);
if (history.pushState) { if (history.pushState) {
var newurl = window.location.protocol + "//" + window.location.host + window.location.pathname + search; var newurl = window.location.protocol + "//" + window.location.host + window.location.pathname + search;
window.history.pushState({ path: newurl }, '', newurl); window.history.pushState({ path: newurl }, '', newurl);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment