diff --git a/lib/sammy.js b/lib/sammy.js index b59cad28..963f8fbd 100644 --- a/lib/sammy.js +++ b/lib/sammy.js @@ -344,6 +344,7 @@ $.extend(Sammy.DefaultLocationProxy.prototype , { } if (new_location != this.getLocation()) { // HTML5 History exists and new_location is a full path + window.location.hash = new_location; //https://github.com/quirkey/sammy/issues/193 if (_has_history && !this.app.disable_push_state && /^\//.test(new_location)) { history.pushState({ path: new_location }, window.title, new_location); this.app.trigger('location-changed');