diff --git a/public/s/js/f0ck.js b/public/s/js/f0ck.js index 2836b67..8a71e07 100644 --- a/public/s/js/f0ck.js +++ b/public/s/js/f0ck.js @@ -763,7 +763,7 @@ window.requestAnimFrame = (function () { // const postsContainer = document.querySelector("div.posts"); - if (postsContainer) { + if (postsContainer && !postsContainer.classList.contains('no-infinite-scroll')) { // Infinite scroll state let infiniteState = { loading: false, diff --git a/views/user.html b/views/user.html index 2bf9cf2..527f4f4 100644 --- a/views/user.html +++ b/views/user.html @@ -21,7 +21,7 @@ f0ck{{ count.f0cks == 1 ? '' : 's' }}: {{ count.f0cks }} view all @if(count.f0cks) -
+
@each(f0cks.items as item) view all
@if(count.favs) -
+
@each(favs.items as item)