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 bc62458 commit ba311c9Copy full SHA for ba311c9
static/canjs.js
@@ -195,6 +195,8 @@ 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
@@ -270,8 +272,6 @@ function navigate(href) {
270
272
if(searchControl.searchResultsCache){
271
273
searchControl.renderSearchResults(searchControl.searchResultsCache);
274
-
- window.history.pushState(null, null, href);
275
},
276
error: function() {
277
window.history.pushState(null, null, href);
0 commit comments