From c5fa5ec963385007029aac56476a8970fb7485e4 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 2 Jun 2011 18:02:04 +0200 Subject: [PATCH] Don't persist QR on board pages. --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 64bc685e0..02f5a3ff7 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1058,7 +1058,7 @@ qr.autohide.unset(); } else { if (dialog) { - if ($.config('Persistent QR')) { + if ($.config('Persistent QR' && g.REPLY)) { qr.refresh(dialog); } else { $.rm(dialog); diff --git a/script.coffee b/script.coffee index a68586a82..8d66cbdff 100644 --- a/script.coffee +++ b/script.coffee @@ -809,7 +809,7 @@ qr = qr.autohide.unset() else # success if dialog - if $.config 'Persistent QR' + if $.config 'Persistent QR' and g.REPLY qr.refresh dialog else $.rm dialog