Remove some /q/-only settings.

This commit is contained in:
Mayhem 2013-09-19 09:22:24 +02:00
parent 6a710cbf0e
commit a56b6765cb
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ DeleteLink =
el: div
order: 40
open: (post) ->
return false if post.isDead or post.board.ID is 'q'
return false if post.isDead
DeleteLink.post = post
node = div.firstChild
node.textContent = 'Delete'

View File

@ -55,7 +55,7 @@ ExpandThread =
1
else switch g.BOARD.ID
# XXX boards config
when 'b', 'vg', 'q' then 3
when 'b', 'vg' then 3
when 't' then 1
else 5
posts = $$ ".thread > .replyContainer", threadRoot

View File

@ -946,7 +946,7 @@ QR =
# prevent errors
if threadID is 'new'
threadID = null
if g.BOARD.ID in ['vg', 'q'] and !post.sub
if g.BOARD.ID is 'vg' and !post.sub
err = 'New threads require a subject.'
else unless post.file or textOnly = !!$ 'input[name=textonly]', $.id 'postForm'
err = 'No file selected.'