Fix QR preserving the spoiler status.
This commit is contained in:
parent
3a674b81f2
commit
aebf540551
@ -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.
|
- Fix inputs in the `Rice` tab being empty when `Custom Board Navigation` is disabled.
|
||||||
|
|
||||||
### 3.1.3 - *2013-04-16*
|
### 3.1.3 - *2013-04-16*
|
||||||
|
|||||||
@ -78,8 +78,6 @@ QR =
|
|||||||
QR.posts[0].rm()
|
QR.posts[0].rm()
|
||||||
QR.cooldown.auto = false
|
QR.cooldown.auto = false
|
||||||
QR.status()
|
QR.status()
|
||||||
if !Conf['Remember Spoiler'] and QR.nodes.spoiler.checked
|
|
||||||
QR.nodes.spoiler.click()
|
|
||||||
focusin: ->
|
focusin: ->
|
||||||
$.addClass QR.nodes.el, 'has-focus'
|
$.addClass QR.nodes.el, 'has-focus'
|
||||||
focusout: ->
|
focusout: ->
|
||||||
@ -563,7 +561,7 @@ QR =
|
|||||||
if @file
|
if @file
|
||||||
QR.nodes.filename.textContent = @filename
|
QR.nodes.filename.textContent = @filename
|
||||||
QR.nodes.filename.title = @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'
|
$.addClass QR.nodes.fileSubmit, 'has-file'
|
||||||
else
|
else
|
||||||
$.rmClass QR.nodes.fileSubmit, 'has-file'
|
$.rmClass QR.nodes.fileSubmit, 'has-file'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user