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
473b8e879e
commit
93a2ebbf71
@ -30,7 +30,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
|
||||||
|
|
||||||
Post.callbacks.push
|
Post.callbacks.push
|
||||||
name: 'Quick Reply'
|
name: 'Quick Reply'
|
||||||
@ -46,7 +46,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