From 1df9e6c9723a0847924b46afc3a9f03326024ce1 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 24 Sep 2015 15:14:15 -0700 Subject: [PATCH] Update for new version of Recaptcha HTML being rolled out. --- src/Posting/Captcha.fixes.coffee | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Posting/Captcha.fixes.coffee b/src/Posting/Captcha.fixes.coffee index 0b364b2dd..e066cdabe 100644 --- a/src/Posting/Captcha.fixes.coffee +++ b/src/Posting/Captcha.fixes.coffee @@ -5,6 +5,10 @@ Captcha.fixes = .rc-imageselect-target > div:focus { outline: 2px solid #4a90e2; } + .rc-imageselect-target td:focus { + box-shadow: inset 0 0 0 2px #4a90e2; + outline: none; + } .rc-button-default:focus { box-shadow: inset 0 0 0 2px #0063d6; } @@ -60,7 +64,7 @@ Captcha.fixes = $.on $('.fbc-imageselect-challenge > form'), 'submit', @checkForm.bind(@) fixImages: -> - @images = $$ '.rc-imageselect-target > div' + @images = $$ '.rc-imageselect-target > div, .rc-imageselect-target td' for img in @images img.tabIndex = 0 @addTooltips @images if @images.length is 9