Fix QR preserving the spoiler status.

This commit is contained in:
Nicolas Stepien 2013-04-17 00:12:45 +02:00
parent 3a674b81f2
commit aebf540551
2 changed files with 2 additions and 3 deletions

View File

@ -1,3 +1,4 @@
- Fix QR remembering the file spoiler state when it shouldn't, for real this time.
- Fix inputs in the `Rice` tab being empty when `Custom Board Navigation` is disabled.
### 3.1.3 - *2013-04-16*

View File

@ -78,8 +78,6 @@ QR =
QR.posts[0].rm()
QR.cooldown.auto = false
QR.status()
if !Conf['Remember Spoiler'] and QR.nodes.spoiler.checked
QR.nodes.spoiler.click()
focusin: ->
$.addClass QR.nodes.el, 'has-focus'
focusout: ->
@ -563,7 +561,7 @@ QR =
if @file
QR.nodes.filename.textContent = @filename
QR.nodes.filename.title = @filename
QR.nodes.spoiler.checked = @spoiler if QR.spoiler
QR.nodes.spoiler.checked = @spoiler
$.addClass QR.nodes.fileSubmit, 'has-file'
else
$.rmClass QR.nodes.fileSubmit, 'has-file'