Activate Reply Pruning by default in stickies. #1115, #1134

This commit is contained in:
ccd0 2016-11-07 17:12:20 -08:00
parent 67d22a15e9
commit 1d6941c862
2 changed files with 8 additions and 2 deletions

View File

@ -56,6 +56,12 @@ ReplyPruning =
node: ->
ReplyPruning.thread = @
if @isSticky
ReplyPruning.active = ReplyPruning.inputs.enabled.checked = true
if QuoteThreading.input
# Disable Quote Threading for this thread but don't save the setting.
Conf['Thread Quotes'] = QuoteThreading.input.checked = false
@posts.forEach (post) ->
if post.isReply
ReplyPruning.total++

View File

@ -407,11 +407,11 @@ Config =
]
'Reply Pruning': [
true
'Hide old replies in long threads. Number of replies shown can be set from header menu.'
'Add option in header menu to hide old replies in long threads. Activated by default in stickies.'
]
'Prune by Default': [
false
'Turn Reply Pruning on by default in all threads, except when navigating to a post that would be hidden.'
'Activate Reply Pruning by default in all threads.'
1
]