Fix incorrect post count caused by the unread line, which broke 4chan's inline extensions. #968
This commit is contained in:
parent
0a08e7500d
commit
471daf9cfd
@ -4027,7 +4027,7 @@ ThreadUpdater =
|
|||||||
$.queueTask ->
|
$.queueTask ->
|
||||||
# Enable 4chan features.
|
# Enable 4chan features.
|
||||||
threadID = ThreadUpdater.thread.ID
|
threadID = ThreadUpdater.thread.ID
|
||||||
{length} = ThreadUpdater.root.children
|
{length} = $$ '.thread > .postContainer', ThreadUpdater.root
|
||||||
if Conf['Enable 4chan\'s Extension']
|
if Conf['Enable 4chan\'s Extension']
|
||||||
$.globalEval "Parser.parseThread(#{threadID}, #{-count})"
|
$.globalEval "Parser.parseThread(#{threadID}, #{-count})"
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user