Merge pull request #1 from nsinisterra/ADD-LOAD-MORE-BAR
Feature: Add handler for load-more in topic screen
diff --git a/console_inject.js b/console_inject.js
index 21fa998..0cfbeae 100644
--- a/console_inject.js
+++ b/console_inject.js
@@ -5,6 +5,10 @@
if ((typeof node.classList !== "undefined") && node.classList.contains("view-more-button-container")) {
intersectionObserver.observe(node.querySelector(".view-more-button"));
}
+
+ if ((typeof node.classList !== "undefined") && node.classList.contains("load-more-bar")) {
+ intersectionObserver.observe(node.querySelector(".load-more-button"));
+ }
});
}
});