Attributes: Add a support comment & fix a link @ tabIndex hook

Ref gh-2664
This commit is contained in:
Michał Gołębiowski
2016-02-03 11:49:19 +01:00
parent f1300f1887
commit 9cb89bf91d

View File

@@ -57,9 +57,10 @@ jQuery.extend( {
tabIndex: {
get: function( elem ) {
// Support: IE 9-11 only
// elem.tabIndex doesn't always return the
// correct value when it hasn't been explicitly set
// http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
// https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
// Use proper attribute retrieval(#12072)
var tabindex = jQuery.find.attr( elem, "tabindex" );