Fixed endless scrolling of the homepage

This commit is contained in:
Sodbileg Gansukh
2023-10-17 09:44:46 +08:00
parent 4b347f1b0d
commit fa53f7e5fd
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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();
}
})();