re-hide thread selector in threads (now optionally)
This commit is contained in:
parent
7b060d9119
commit
7b4404ecf3
@ -315,6 +315,10 @@ Config =
|
||||
false
|
||||
'Remember the spoiler state, instead of resetting after posting.'
|
||||
]
|
||||
'Show New Thread Option in Threads': [
|
||||
false
|
||||
'Show the option to post a new thread from inside a thread.'
|
||||
]
|
||||
'Show Name and Subject': [
|
||||
false
|
||||
'Show the classic name, email, and subject fields in the QR, even when 4chan doesn\'t use them all.'
|
||||
|
||||
@ -809,6 +809,7 @@ span.hide-announcement {
|
||||
:root.hide-original-post-form #togglePostFormLink,
|
||||
:root:not(.catalog) #togglePostFormLink,
|
||||
#qr.autohide:not(.focus):not(:hover):not(:active) > form,
|
||||
:root.thread-view #qr select[data-name=thread],
|
||||
#file-n-submit:not(.has-file) #qr-filerm {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@ -469,6 +469,9 @@ QR =
|
||||
QR.max_width_video = QR.max_height_video = 2048
|
||||
QR.max_duration_video = 120
|
||||
|
||||
if Conf['Show New Thread Option in Threads']
|
||||
$.addClass QR.nodes.el, 'show-new-thread-option'
|
||||
|
||||
if Conf['Show Name and Subject']
|
||||
$.addClass QR.nodes.name, 'force-show'
|
||||
$.addClass QR.nodes.sub, 'force-show'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user