Revert "Fixes CC bug in the unreleased escalation feature"
This reverts commit 982666e73000f63d592b63f372d57fbe32cd4402.
Reason: the CC bug is now solved on Google's end
diff --git a/console_inject.js b/console_inject.js
index 62dcf57..5b772ed 100644
--- a/console_inject.js
+++ b/console_inject.js
@@ -90,11 +90,6 @@
modal.querySelector("#infinitegforums_duplicate").addEventListener("click", duplicateThreads);
});
}
-
- if (options.escalatethreads && ("tagName" in node) && node.tagName == "A" && node.getAttribute("href") !== null && /^\/forum\/[0-9]+\/thread\/[0-9]+$/i.test(node.getAttribute("href"))) {
- var escalation = parseUrl(node.getAttribute("href"));
- node.setAttribute("href", "/s/community/forum/"+escalation.forum+"/thread/"+escalation.thread);
- }
}
});
}