We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4cda57 + 7563419 commit 6a80af4Copy full SHA for 6a80af4
static/canjs.js
@@ -218,6 +218,9 @@ function navigate(href) {
218
return xhr;
219
},
220
success: function(content) {
221
+
222
+ window.history.pushState(null, null, href);
223
224
// Google Analytics
225
ga('send', 'pageview', window.location.pathname);
226
@@ -270,8 +273,6 @@ function navigate(href) {
270
273
if(searchControl.searchResultsCache){
271
274
searchControl.renderSearchResults(searchControl.searchResultsCache);
272
275
}
-
- window.history.pushState(null, null, href);
276
277
error: function() {
278
window.history.pushState(null, null, href);
0 commit comments