Deprecated obsolete options which are now part of the vanilla CC/TW Forums experience and fixed a bug caused to an internal TW HTML structure change
diff --git a/src/console_inject.js b/src/console_inject.js
index 912be50..13dc5e8 100644
--- a/src/console_inject.js
+++ b/src/console_inject.js
@@ -46,10 +46,6 @@
if (mutation.type == "childList") {
mutation.addedNodes.forEach(function (node) {
if (typeof node.classList !== "undefined") {
- if (options.list && node.classList.contains("view-more-button-container")) {
- intersectionObserver.observe(node.querySelector(".view-more-button"));
- }
-
if (options.thread && node.classList.contains("load-more-bar")) {
intersectionObserver.observe(node.querySelector(".load-more-button"));
}
@@ -105,7 +101,7 @@
});
}
-function intersectionCallback(entries, observer) {
+function intersectionCallback(entries, observer) {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.click();