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
parent 473b8e879e
commit 93a2ebbf71

View File

@ -30,7 +30,7 @@ QR =
if Conf['Hide Original Post Form']
$.asap (-> doc), -> $.addClass doc, 'hide-original-post-form'
$.ready @initReady
$.on '4chanXInitFinished', @initReady
Post.callbacks.push
name: 'Quick Reply'
@ -46,7 +46,6 @@ QR =
QR.link = link.firstElementChild
$.on link.firstChild, 'click', ->
$.event 'CloseMenu'
QR.open()
QR.nodes.com.focus()