Fix filter highlighting on fetched quoted posts.

This commit is contained in:
ccd0 2015-04-11 23:45:18 -07:00
parent 24ff8a730f
commit 290c5c7833

View File

@ -99,13 +99,13 @@ Filter =
settings settings
node: -> node: ->
return if @isClone or @isFetchedQuote return if @isClone
for key of Filter.filters when (value = Filter[key] @) isnt false for key of Filter.filters when (value = Filter[key] @) isnt false
# Continue if there's nothing to filter (no tripcode for example). # Continue if there's nothing to filter (no tripcode for example).
for filter in Filter.filters[key] when result = filter value, @isReply for filter in Filter.filters[key] when result = filter value, @isReply
# Hide # Hide
if result.hide if result.hide and not @isFetchedQuote
if @isReply if @isReply
PostHiding.hide @, result.stub PostHiding.hide @, result.stub
else if g.VIEW is 'index' else if g.VIEW is 'index'