Node.js based forum software built for the modern web
removed eventlisteners for scroll
Baris Usakli34ce17e5223b
diff --git a/public/src/forum/topic.js b/public/src/forum/topic.jsindex 7d751f6a32..d393f5e55f 100644--- a/public/src/forum/topic.js+++ b/public/src/forum/topic.js@@ -201,7 +201,9 @@}, false);// Infinite scrolling of posts- window.addEventListener('scroll', function() {+ $(window).off('scroll');+ $(window).on('scroll', function() {+ console.log('called scroll for ' + tid);var windowHeight = document.body.offsetHeight - $(window).height(),half = windowHeight / 2;