diff --git a/4chan_x.user.js b/4chan_x.user.js index 291d19f1e..ff017be91 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1103,7 +1103,7 @@ qr.autohide.unset(); } else { if (dialog) { - if ($.config('Persistent QR') && g.REPLY) { + if (g.REPLY && $.config('Persistent QR')) { qr.refresh(dialog); } else { $.rm(dialog); diff --git a/script.coffee b/script.coffee index 791782769..aa1ddb170 100644 --- a/script.coffee +++ b/script.coffee @@ -838,7 +838,7 @@ qr = qr.autohide.unset() else # success if dialog - if $.config('Persistent QR') and g.REPLY + if g.REPLY and $.config 'Persistent QR' qr.refresh dialog else $.rm dialog