From d61ccd0183e24453f44ad9e540b16c7b367d7419 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Tue, 20 Jan 2015 14:24:33 -0800 Subject: [PATCH] UserLogin: Don't rely on jQuery prop('tabindex') to map to tabIndex Follows-up I9b03d519af43d. There is a hardcoded set of exceptions in jQuery core right now that map these common mistakes for back-compat. But this is undocumented/unsupported legacy behaviour for a very small subset of properties. Change-Id: I9cfef0bc6a088e4c0a632b3673df460d26477c37 --- .../src/mediawiki.special/mediawiki.special.userlogin.common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/src/mediawiki.special/mediawiki.special.userlogin.common.js b/resources/src/mediawiki.special/mediawiki.special.userlogin.common.js index 247f814133..f5289deea0 100644 --- a/resources/src/mediawiki.special/mediawiki.special.userlogin.common.js +++ b/resources/src/mediawiki.special/mediawiki.special.userlogin.common.js @@ -20,7 +20,7 @@ if ( !$submit.length ) { return; } - tabIndex = $submit.prop( 'tabindex' ) - 1; + tabIndex = $submit.prop( 'tabIndex' ) - 1; $captchaStuff = $content.find( '.captcha' ); if ( $captchaStuff.length ) { -- 2.20.1