Conflicts: CHANGELOG.md html/General/Settings-section-Rice.html img/changelog/3.9.0/0.png package.json src/Images/AutoGIF.coffee src/Images/RevealSpoilers.coffee src/Miscellaneous/ExpandComment.coffee src/Miscellaneous/IDColor.coffee src/Monitoring/Unread.coffee src/Posting/QuickReply.coffee src/Quotelinks/QuoteInline.coffee src/Quotelinks/QuotePreview.coffee src/Quotelinks/QuoteYou.coffee src/Quotelinks/Quotify.coffee
16 lines
463 B
CoffeeScript
Executable File
16 lines
463 B
CoffeeScript
Executable File
QuoteStrikeThrough =
|
|
init: ->
|
|
return if g.VIEW is 'catalog' or !Conf['Reply Hiding Buttons'] and !Conf['Reply Hiding Link'] and !Conf['Filter']
|
|
|
|
Post.callbacks.push
|
|
name: 'Strike-through Quotes'
|
|
cb: @node
|
|
|
|
node: ->
|
|
return if @isClone
|
|
for quotelink in @nodes.quotelinks
|
|
{boardID, postID} = Get.postDataFromLink quotelink
|
|
if g.posts["#{boardID}.#{postID}"]?.isHidden
|
|
$.addClass quotelink, 'filtered'
|
|
return
|