Fix quoting-you in thread watcher on /archive page.

This commit is contained in:
ccd0 2015-01-25 13:59:25 -08:00
parent ee022ce8ea
commit b93ee0fb11

View File

@ -2,11 +2,13 @@ QR =
mimeTypes: ['image/jpeg', 'image/png', 'image/gif', 'application/pdf', 'application/vnd.adobe.flash.movie', 'application/x-shockwave-flash', 'video/webm']
init: ->
return if !Conf['Quick Reply'] or g.VIEW is 'archive'
return unless Conf['Quick Reply']
@db = new DataBoard 'yourPosts'
@posts = []
return if g.VIEW is 'archive'
$.globalEval 'document.documentElement.dataset.jsEnabled = true;'
noscript = Conf['Force Noscript Captcha'] or !doc.dataset.jsEnabled
@captcha = Captcha[if noscript then 'noscript' else 'v2']