Fix a bug causing the QR to not load correctly.

I don't know why we were using @ready.
This commit is contained in:
Zixaphir 2014-03-02 19:10:38 -07:00 committed by ccd0
parent f02f40dfef
commit 3b8627bd87

View File

@ -28,7 +28,7 @@ QR =
if Conf['Hide Original Post Form']
$.asap (-> doc), -> $.addClass doc, 'hide-original-post-form'
$.ready @initReady
$.on '4chanXInitFinished', @initReady
if Conf['Persistent QR']
unless g.BOARD.ID is 'f' and g.VIEW is 'index'
@ -50,7 +50,6 @@ QR =
QR.link = link.firstElementChild
$.on link.firstChild, 'click', ->
$.event 'CloseMenu'
QR.open()
QR.nodes.com.focus()