remove duplicate Persistent QR code
This commit is contained in:
parent
8ad1781a1e
commit
25a3c3aeed
@ -29,12 +29,6 @@ QR =
|
||||
|
||||
$.on d, '4chanXInitFinished', @initReady
|
||||
|
||||
if Conf['Persistent QR']
|
||||
unless g.BOARD.ID is 'f' and g.VIEW is 'index'
|
||||
$.on d, '4chanXInitFinished', @persist
|
||||
else
|
||||
$.ready @persist
|
||||
|
||||
Post.callbacks.push
|
||||
name: 'Quick Reply'
|
||||
cb: @node
|
||||
@ -94,11 +88,6 @@ QR =
|
||||
node: ->
|
||||
$.on $('a[title="Reply to this post"]', @nodes.info), 'click', QR.quote
|
||||
|
||||
persist: ->
|
||||
return unless QR.postingIsEnabled
|
||||
QR.open()
|
||||
QR.hide() if Conf['Auto Hide QR'] or g.VIEW is 'catalog'
|
||||
|
||||
open: ->
|
||||
if QR.nodes
|
||||
QR.nodes.el.hidden = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user