Fix missing /f/ tag selector when posting new thread from within thread.
This commit is contained in:
parent
15cba4f9e3
commit
76050db6ba
@ -1198,7 +1198,8 @@ input[name="Default Volume"] {
|
||||
}
|
||||
#qr.forced-anon input[data-name="name"]:not(.force-show),
|
||||
#qr.forced-anon input[data-name="sub"]:not(.force-show),
|
||||
#qr.reply-to-thread input[data-name="sub"]:not(.force-show) {
|
||||
#qr.reply-to-thread input[data-name="sub"]:not(.force-show),
|
||||
#qr.reply-to-thread select[name="filetag"] {
|
||||
display: none;
|
||||
}
|
||||
#qr textarea.field {
|
||||
|
||||
@ -482,7 +482,7 @@ QR =
|
||||
QR.setCustomCooldown customCooldownEnabled
|
||||
$.sync 'customCooldownEnabled', QR.setCustomCooldown
|
||||
|
||||
if g.BOARD.ID is 'f' and g.VIEW isnt 'thread'
|
||||
if g.BOARD.ID is 'f'
|
||||
nodes.flashTag = $.el 'select',
|
||||
name: 'filetag'
|
||||
|
||||
@ -569,10 +569,10 @@ QR =
|
||||
|
||||
post = QR.posts[0]
|
||||
post.forceSave()
|
||||
if g.BOARD.ID is 'f' and g.VIEW isnt 'thread'
|
||||
filetag = QR.nodes.flashTag.value
|
||||
threadID = post.thread
|
||||
thread = g.BOARD.threads[threadID]
|
||||
if g.BOARD.ID is 'f' and threadID is 'new'
|
||||
filetag = QR.nodes.flashTag.value
|
||||
|
||||
# prevent errors
|
||||
if threadID is 'new'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user