Remove some /q/-only settings.
This commit is contained in:
parent
6a710cbf0e
commit
a56b6765cb
@ -31,7 +31,7 @@ DeleteLink =
|
|||||||
el: div
|
el: div
|
||||||
order: 40
|
order: 40
|
||||||
open: (post) ->
|
open: (post) ->
|
||||||
return false if post.isDead or post.board.ID is 'q'
|
return false if post.isDead
|
||||||
DeleteLink.post = post
|
DeleteLink.post = post
|
||||||
node = div.firstChild
|
node = div.firstChild
|
||||||
node.textContent = 'Delete'
|
node.textContent = 'Delete'
|
||||||
|
|||||||
@ -55,7 +55,7 @@ ExpandThread =
|
|||||||
1
|
1
|
||||||
else switch g.BOARD.ID
|
else switch g.BOARD.ID
|
||||||
# XXX boards config
|
# XXX boards config
|
||||||
when 'b', 'vg', 'q' then 3
|
when 'b', 'vg' then 3
|
||||||
when 't' then 1
|
when 't' then 1
|
||||||
else 5
|
else 5
|
||||||
posts = $$ ".thread > .replyContainer", threadRoot
|
posts = $$ ".thread > .replyContainer", threadRoot
|
||||||
|
|||||||
@ -946,7 +946,7 @@ QR =
|
|||||||
# prevent errors
|
# prevent errors
|
||||||
if threadID is 'new'
|
if threadID is 'new'
|
||||||
threadID = null
|
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.'
|
err = 'New threads require a subject.'
|
||||||
else unless post.file or textOnly = !!$ 'input[name=textonly]', $.id 'postForm'
|
else unless post.file or textOnly = !!$ 'input[name=textonly]', $.id 'postForm'
|
||||||
err = 'No file selected.'
|
err = 'No file selected.'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user