Fix missing /f/ tag selector when posting new thread from within thread.

This commit is contained in:
ccd0 2015-04-08 17:53:58 -07:00
parent 15cba4f9e3
commit 76050db6ba
2 changed files with 5 additions and 4 deletions

View File

@ -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 {

View File

@ -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'