diff --git a/source/Ox.UI/js/Core/Ox.URL.js b/source/Ox.UI/js/Core/Ox.URL.js index 6606294c..2308332c 100644 --- a/source/Ox.UI/js/Core/Ox.URL.js +++ b/source/Ox.UI/js/Core/Ox.URL.js @@ -649,7 +649,9 @@ Ox.URL = function(options) { @*/ that.pop = function() { if (self.previousURL) { - history.pushState({}, self.previousTitle, self.previousURL); + history.pushState && history.pushState( + {}, self.previousTitle, self.previousURL + ); document.title = self.previousTitle; } return !!self.previousURL; @@ -681,7 +683,9 @@ Ox.URL = function(options) { + document.location.search + document.location.hash; if (url != self.previousURL) { - history.pushState(Ox.extend(state, {title: title}), '', url); + history.pushState && history.pushState( + Ox.extend(state, {title: title}), '', url + ); document.title = title; callback && callback(state); }