diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 7950a0317..fd955625b 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -5085,7 +5085,9 @@ d.activeElement.blur(); $.rmClass(QR.nodes.el, 'dump'); if (!Conf['Captcha Warning Notifications']) { - $.rmClass(QR.captcha.nodes.input, 'error'); + if (QR.captcha.isEnabled) { + $.rmClass(QR.captcha.nodes.input, 'error'); + } } if (Conf['QR Shortcut']) { $.toggleClass($('.qr-shortcut'), 'disabled'); diff --git a/builds/crx/script.js b/builds/crx/script.js index 08a211fdd..1486a1eeb 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -5093,7 +5093,9 @@ d.activeElement.blur(); $.rmClass(QR.nodes.el, 'dump'); if (!Conf['Captcha Warning Notifications']) { - $.rmClass(QR.captcha.nodes.input, 'error'); + if (QR.captcha.isEnabled) { + $.rmClass(QR.captcha.nodes.input, 'error'); + } } if (Conf['QR Shortcut']) { $.toggleClass($('.qr-shortcut'), 'disabled'); diff --git a/src/Posting/QuickReply.coffee b/src/Posting/QuickReply.coffee index 7ba89a224..a77a29ac0 100755 --- a/src/Posting/QuickReply.coffee +++ b/src/Posting/QuickReply.coffee @@ -99,7 +99,7 @@ QR = d.activeElement.blur() $.rmClass QR.nodes.el, 'dump' unless Conf['Captcha Warning Notifications'] - $.rmClass QR.captcha.nodes.input, 'error' + $.rmClass QR.captcha.nodes.input, 'error' if QR.captcha.isEnabled if Conf['QR Shortcut'] $.toggleClass $('.qr-shortcut'), 'disabled' new QR.post true