diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 2eed475ff..acc79a1c7 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -50,14 +50,13 @@ QR = else QR.status() - QR.persist() if Conf['Persistent QR'] + return unless Conf['Persistent QR'] + QR.open() + QR.hide() if Conf['Auto-Hide QR'] or g.VIEW is 'catalog' or g.VIEW is 'index' and Conf['Index Mode'] is 'catalog' node: -> $.on $('a[title="Quote this post"]', @nodes.info), 'click', QR.quote - persist: -> - QR.open() - QR.hide() if Conf['Auto-Hide QR'] or g.VIEW is 'catalog' open: -> if QR.nodes QR.nodes.el.hidden = false