Fixes a bug causing inconsistency between spoiler checkboxes in dump list and filename box.
To reproduce the bug: 1. Ensure "Remember spoilers" = off and open QR. 2. Select file and spoiler it. 3. Open dump list and create post #2. 4. Switch to post #1 and back. 5. Add file to post #2.
This commit is contained in:
parent
45c63fae20
commit
9288c5150f
@ -315,11 +315,11 @@ QR.post = class
|
||||
showFileData: ->
|
||||
if @file
|
||||
@updateFilename()
|
||||
QR.nodes.filename.value = @filename
|
||||
QR.nodes.spoiler.checked = @spoiler
|
||||
QR.nodes.filename.value = @filename
|
||||
$.addClass QR.nodes.fileSubmit, 'has-file'
|
||||
else
|
||||
$.rmClass QR.nodes.fileSubmit, 'has-file'
|
||||
QR.nodes.spoiler.checked = @spoiler
|
||||
|
||||
updateFlashURL: ->
|
||||
return unless g.BOARD.ID is 'f'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user