QR fixes
This commit is contained in:
parent
f6977b1b3f
commit
ac78d81828
@ -14,6 +14,7 @@ QR =
|
|||||||
title: 'Quick Reply'
|
title: 'Quick Reply'
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
$.on sc, 'click', ->
|
$.on sc, 'click', ->
|
||||||
|
return unless QR.postingIsEnabled
|
||||||
if Conf['Persistent QR'] or !QR.nodes or QR.nodes.el.hidden
|
if Conf['Persistent QR'] or !QR.nodes or QR.nodes.el.hidden
|
||||||
QR.open()
|
QR.open()
|
||||||
QR.nodes.com.focus()
|
QR.nodes.com.focus()
|
||||||
@ -190,7 +191,7 @@ QR =
|
|||||||
return unless QR.nodes
|
return unless QR.nodes
|
||||||
{thread} = QR.posts[0]
|
{thread} = QR.posts[0]
|
||||||
if thread isnt 'new' and g.threads["#{g.BOARD}.#{thread}"].isDead
|
if thread isnt 'new' and g.threads["#{g.BOARD}.#{thread}"].isDead
|
||||||
value = 404
|
value = 'Dead'
|
||||||
disabled = true
|
disabled = true
|
||||||
QR.cooldown.auto = false
|
QR.cooldown.auto = false
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user