From 3b8627bd87b16711464bd282f7383f5ede2fc58e Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Sun, 2 Mar 2014 19:10:38 -0700 Subject: [PATCH] Fix a bug causing the QR to not load correctly. I don't know why we were using @ready. --- src/Posting/QR.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 5fb3feb25..815583d3f 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -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()