diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 738606871..71c81fdc2 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -134,7 +134,7 @@ QR = QR.hasFocus = d.activeElement and QR.nodes.el.contains(d.activeElement) QR.nodes.el.classList.toggle 'focus', QR.hasFocus # XXX Stop unwanted scrolling due to captcha. - if QR.captcha.isEnabled and !QR.captcha.noscript + if QR.captcha.isEnabled and QR.captcha is Captcha.v2 and !QR.captcha.noscript if QR.inCaptcha() QR.scrollY = window.scrollY $.on d, 'scroll', QR.scrollLock