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.
1 parent ba311c9 commit 7563419Copy full SHA for 7563419
static/canjs.js
@@ -195,8 +195,6 @@ function navigate(href) {
195
return;
196
}
197
198
- window.history.pushState(null, null, href);
199
-
200
// clear existing scroll interval if it's still alive
201
clearInterval(scrollPositionInterval);
202
@@ -220,6 +218,9 @@ function navigate(href) {
220
218
return xhr;
221
219
},
222
success: function(content) {
+
+ window.history.pushState(null, null, href);
223
224
// Google Analytics
225
ga('send', 'pageview', window.location.pathname);
226
0 commit comments