Skip to content

Commit fa53f7e

Browse files
Fixed endless scrolling of the homepage
1 parent 4b347f1 commit fa53f7e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

assets/built/source.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/built/source.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/casper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
/* Infinite scroll pagination */
4242
(function () {
43-
if (!document.body.classList.contains('post-template')) {
43+
if (!document.body.classList.contains('home-template') && !document.body.classList.contains('post-template')) {
4444
pagination();
4545
}
4646
})();

0 commit comments

Comments
 (0)