Fix a bug causing the QR to not load correctly.
I don't know why we were using @ready.
This commit is contained in:
parent
f02f40dfef
commit
3b8627bd87
@ -28,7 +28,7 @@ QR =
|
|||||||
if Conf['Hide Original Post Form']
|
if Conf['Hide Original Post Form']
|
||||||
$.asap (-> doc), -> $.addClass doc, 'hide-original-post-form'
|
$.asap (-> doc), -> $.addClass doc, 'hide-original-post-form'
|
||||||
|
|
||||||
$.ready @initReady
|
$.on '4chanXInitFinished', @initReady
|
||||||
|
|
||||||
if Conf['Persistent QR']
|
if Conf['Persistent QR']
|
||||||
unless g.BOARD.ID is 'f' and g.VIEW is 'index'
|
unless g.BOARD.ID is 'f' and g.VIEW is 'index'
|
||||||
@ -50,7 +50,6 @@ QR =
|
|||||||
|
|
||||||
QR.link = link.firstElementChild
|
QR.link = link.firstElementChild
|
||||||
$.on link.firstChild, 'click', ->
|
$.on link.firstChild, 'click', ->
|
||||||
|
|
||||||
$.event 'CloseMenu'
|
$.event 'CloseMenu'
|
||||||
QR.open()
|
QR.open()
|
||||||
QR.nodes.com.focus()
|
QR.nodes.com.focus()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user