From a12641829540a33fe7b2b28524796855f94cf00c Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Sun, 2 Mar 2014 19:13:16 -0700 Subject: [PATCH] MISTAKES WERE MADE! Conflicts: builds/4chan-X.user.js builds/crx/script.js --- src/Posting/QR.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 815583d3f..aa7f7b4d0 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' - $.on '4chanXInitFinished', @initReady + $.on d, '4chanXInitFinished', @initReady if Conf['Persistent QR'] unless g.BOARD.ID is 'f' and g.VIEW is 'index' @@ -41,6 +41,7 @@ QR = cb: @node initReady: -> + $.off d, '4chanXInitFinished', @initReady QR.postingIsEnabled = !!$.id 'postForm' return unless QR.postingIsEnabled