From dda4b91448ae821b506f15a73a8340944ebd404f Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Tue, 18 Sep 2012 18:44:56 +0200 Subject: [PATCH] qr -> QR --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index de80a6860..95e71a5a0 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1803,7 +1803,7 @@ $.add(el, err); } QR.open(); - if (qr.captchaIsEnabled && /captcha|verification/i.test(el.textContent)) { + if (QR.captchaIsEnabled && /captcha|verification/i.test(el.textContent)) { $('[autocomplete]', QR.el).focus(); } if (d.hidden || d.oHidden || d.mozHidden || d.webkitHidden) { diff --git a/script.coffee b/script.coffee index cca7b666c..28d27b14e 100644 --- a/script.coffee +++ b/script.coffee @@ -1392,7 +1392,7 @@ QR = el.innerHTML = null $.add el, err QR.open() - if qr.captchaIsEnabled and /captcha|verification/i.test el.textContent + if QR.captchaIsEnabled and /captcha|verification/i.test el.textContent # Focus the captcha input on captcha error. $('[autocomplete]', QR.el).focus() alert el.textContent if d.hidden or d.oHidden or d.mozHidden or d.webkitHidden