Skip to content

Commit

Permalink
Fixed endless scrolling of the homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
minimaluminium committed Oct 17, 2023
1 parent 4b347f1 commit fa53f7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/built/source.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/built/source.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/casper.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

/* Infinite scroll pagination */
(function () {
if (!document.body.classList.contains('post-template')) {
if (!document.body.classList.contains('home-template') && !document.body.classList.contains('post-template')) {
pagination();
}
})();

0 comments on commit fa53f7e

Please sign in to comment.