fix bug in quote threading

This commit is contained in:
ccd0 2014-04-20 00:40:10 -07:00
parent 512abfb205
commit 6fb54490c2

View File

@ -97,7 +97,7 @@ QuoteThreading =
if post = posts[post.ID]
posts.after post, posts[@ID]
else
else if posts[@ID]
posts.prepend posts[@ID]
return true
@ -128,4 +128,4 @@ QuoteThreading =
kb: ->
control = $.id 'threadingControl'
control.checked = not control.checked
QuoteThreading.toggle.call control
QuoteThreading.toggle.call control