Fix bug from 1b6095ec2663001c858c7ddb911bf10fcb405d06 causing Reply Pruning not to run on page load.
This commit is contained in:
parent
f6010ca298
commit
f582097707
@ -47,6 +47,7 @@ ReplyPruning =
|
|||||||
$.on ReplyPruning.inputs.enabled, 'change', ReplyPruning.update
|
$.on ReplyPruning.inputs.enabled, 'change', ReplyPruning.update
|
||||||
$.on ReplyPruning.inputs.replies, 'change', ReplyPruning.update
|
$.on ReplyPruning.inputs.replies, 'change', ReplyPruning.update
|
||||||
$.on d, 'ThreadUpdate', ReplyPruning.update
|
$.on d, 'ThreadUpdate', ReplyPruning.update
|
||||||
|
ReplyPruning.update()
|
||||||
|
|
||||||
update: (e) ->
|
update: (e) ->
|
||||||
if e and e.type is 'ThreadUpdate' and not e.detail[404]
|
if e and e.type is 'ThreadUpdate' and not e.detail[404]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user