diff --git a/index.js b/index.js index 12cd876..9b89b98 100644 --- a/index.js +++ b/index.js @@ -34,7 +34,7 @@ Url.prototype.apply = function(params){ params = '?' + params; } - locationBar.update(params, {trigger: true}); + locationBar.update(location.pathname + params, {trigger: true}); } Url.prototype.set = function(param, value){