diff --git a/builds/4chan-X.js b/builds/4chan-X.js index 969f4f923..ae7193e91 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -4695,6 +4695,9 @@ return $.on($('a[title="Quote this post"]', this.nodes.info), 'click', QR.quote); }, persist: function() { + if (!QR.postingIsEnabled) { + return; + } QR.open(); if (Conf['Auto Hide QR']) { return QR.hide(); diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 412240054..13fac89bf 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -4679,6 +4679,9 @@ return $.on($('a[title="Quote this post"]', this.nodes.info), 'click', QR.quote); }, persist: function() { + if (!QR.postingIsEnabled) { + return; + } QR.open(); if (Conf['Auto Hide QR']) { return QR.hide(); diff --git a/builds/crx/script.js b/builds/crx/script.js index 6d2c71423..1c140f334 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -4682,6 +4682,9 @@ return $.on($('a[title="Quote this post"]', this.nodes.info), 'click', QR.quote); }, persist: function() { + if (!QR.postingIsEnabled) { + return; + } QR.open(); if (Conf['Auto Hide QR']) { return QR.hide(); diff --git a/src/Posting/QuickReply.coffee b/src/Posting/QuickReply.coffee index b627ce6c1..f216f69ec 100644 --- a/src/Posting/QuickReply.coffee +++ b/src/Posting/QuickReply.coffee @@ -72,6 +72,7 @@ QR = $.on $('a[title="Quote this post"]', @nodes.info), 'click', QR.quote persist: -> + return unless QR.postingIsEnabled QR.open() QR.hide() if Conf['Auto Hide QR'] open: ->