diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 24e2dfd54..b379897a5 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -5664,7 +5664,10 @@ return { catalog: function() { if (Conf["Persistent QR"]) { - return QR.open(); + QR.open(); + } + if (Conf['Auto Hide QR']) { + return QR.hide(); } }, index: function() { diff --git a/builds/crx/script.js b/builds/crx/script.js index 188ceb7d6..510ecffa6 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -5699,7 +5699,10 @@ return { catalog: function() { if (Conf["Persistent QR"]) { - return QR.open(); + QR.open(); + } + if (Conf['Auto Hide QR']) { + return QR.hide(); } }, index: function() { diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index c7b2f652e..18b8c806d 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -72,7 +72,8 @@ QR = $.on d, 'dragstart dragend', QR.drag { catalog: -> - QR.open() if Conf["Persistent QR"] + QR.open() if Conf["Persistent QR"] + QR.hide() if Conf['Auto Hide QR'] index: -> $.on d, 'IndexRefresh', QR.generatePostableThreadsList thread: ->