diff --git a/src/Miscellaneous/ExpandThread.coffee b/src/Miscellaneous/ExpandThread.coffee index d7c6a6d59..8cfb24411 100644 --- a/src/Miscellaneous/ExpandThread.coffee +++ b/src/Miscellaneous/ExpandThread.coffee @@ -92,12 +92,4 @@ ExpandThread = postsRoot.push root Main.callbackNodes Post, posts $.after a, postsRoot - - postsCount = postsRoot.length - a.textContent = ExpandThread.text '-', postsCount, filesCount - - # Enable 4chan features. - if Conf['Enable 4chan\'s Extension'] - $.globalEval "Parser.parseThread(#{thread}, 1, #{postsCount})" - else - Fourchan.parseThread thread.ID, 1, postsCount + a.textContent = ExpandThread.text '-', postsRoot.length, filesCount diff --git a/src/Miscellaneous/Fourchan.coffee b/src/Miscellaneous/Fourchan.coffee index 6f290d662..a19611b47 100644 --- a/src/Miscellaneous/Fourchan.coffee +++ b/src/Miscellaneous/Fourchan.coffee @@ -42,10 +42,3 @@ Fourchan = math: -> return if @isClone or !$ '.math', @nodes.comment $.event 'jsmath', @nodes.post, window - parseThread: (threadID, offset, limit) -> - # Fix /sci/ - # Fix /g/ - $.event '4chanParsingDone', - threadId: threadID - offset: offset - limit: limit diff --git a/src/Monitoring/ThreadUpdater.coffee b/src/Monitoring/ThreadUpdater.coffee index 028a4ccd9..784c4738f 100644 --- a/src/Monitoring/ThreadUpdater.coffee +++ b/src/Monitoring/ThreadUpdater.coffee @@ -254,11 +254,3 @@ ThreadUpdater = window.scrollTo 0, d.body.clientHeight else Header.scrollTo nodes[0] - - # Enable 4chan features. - threadID = ThreadUpdater.thread.ID - {length} = $$ '.thread > .postContainer', ThreadUpdater.root - if Conf['Enable 4chan\'s Extension'] - $.globalEval "Parser.parseThread(#{threadID}, #{-count})" - else - Fourchan.parseThread threadID, length - count, length