infinity scroll disable on profiles

This commit is contained in:
2026-01-27 10:56:41 +01:00
parent 04f4166dbe
commit 16731e566b
2 changed files with 3 additions and 3 deletions

View File

@@ -763,7 +763,7 @@ window.requestAnimFrame = (function () {
// <infinite-scroll>
const postsContainer = document.querySelector("div.posts");
if (postsContainer) {
if (postsContainer && !postsContainer.classList.contains('no-infinite-scroll')) {
// Infinite scroll state
let infiniteState = {
loading: false,