소스 검색

Don't update url when autoloading next page

It seemed like a great idea so reloads wouldn't lose progress, but it just
became annoying.
Zed 6 년 전
부모
커밋
d20cddd15f
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      public/js/infiniteScroll.js

+ 0 - 1
public/js/infiniteScroll.js

@@ -25,7 +25,6 @@ window.onload = function() {
             loadMore.children[0].text = "Loading...";
 
             var url = new URL(loadMore.children[0].href);
-            window.history.pushState('', '', url.toString());
             url.searchParams.append('scroll', 'true');
 
             fetch(url.toString()).then(function (response) {