From 25a3c3aeede4e0c58d3ff7364c9662e0f74efba2 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 13 Sep 2014 00:59:02 -0700 Subject: [PATCH] remove duplicate Persistent QR code --- src/Posting/QR.coffee | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 4c6d2b8c1..6afcb6711 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -29,12 +29,6 @@ QR = $.on d, '4chanXInitFinished', @initReady - if Conf['Persistent QR'] - unless g.BOARD.ID is 'f' and g.VIEW is 'index' - $.on d, '4chanXInitFinished', @persist - else - $.ready @persist - Post.callbacks.push name: 'Quick Reply' cb: @node @@ -94,11 +88,6 @@ QR = node: -> $.on $('a[title="Reply to this post"]', @nodes.info), 'click', QR.quote - persist: -> - return unless QR.postingIsEnabled - QR.open() - QR.hide() if Conf['Auto Hide QR'] or g.VIEW is 'catalog' - open: -> if QR.nodes QR.nodes.el.hidden = false