From dcc70d9fd64c782dbb54e1e0b1badef3f9648cfa Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 28 Jun 2015 16:56:58 -0700 Subject: [PATCH] Set the tabindex for the v1 captcha. --- src/Posting/Captcha.v1.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Posting/Captcha.v1.coffee b/src/Posting/Captcha.v1.coffee index a9d488b9a..7d456a510 100644 --- a/src/Posting/Captcha.v1.coffee +++ b/src/Posting/Captcha.v1.coffee @@ -52,7 +52,10 @@ Captcha.v1 = (function() { var container = document.getElementById("captchaContainerAlt"); if (container.firstChild) return; - var options = {theme: "clean"}; + var options = { + theme: "clean", + tabindex: {"boards.4chan.org": 5, "sys.4chan.org": 3}[location.hostname] + }; if (window.Recaptcha) { window.Recaptcha.create("<%= meta.recaptchaKey %>", container, options); } else {