diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-01-07 14:36:30 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-01-07 14:36:30 +0000 |
commit | 49d0d5b7a3628947a14028d14ed042746cc6c3e4 (patch) | |
tree | b30d600ebc5a07b6555e7f1d4bcbcb627cd31a2e /src/support.js | |
parent | f9e0b1ed7a5f252bb58aba9bdfb96653af2b4c1b (diff) | |
download | jquery-49d0d5b7a3628947a14028d14ed042746cc6c3e4.tar.gz jquery-49d0d5b7a3628947a14028d14ed042746cc6c3e4.zip |
Fixed tabindex normalization so that elements that natively support tabbing, but don't have a tabindex explicitly set return 0 instead of undefined.
Removed jQuery.support.tabindex since we're only normalizing non-XML right now and all browsers support tabIndex for HTML documents.
Diffstat (limited to 'src/support.js')
-rw-r--r-- | src/support.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/support.js b/src/support.js index c334e78d6..bacc5bd4e 100644 --- a/src/support.js +++ b/src/support.js @@ -51,10 +51,6 @@ // (IE uses styleFloat instead of cssFloat) cssFloat: !!a.style.cssFloat, - // Verify tabindex attribute existence - // (IE uses tabIndex instead of tabindex) - tabindex: !a.getAttributeNode('tabindex'), - // Will be defined later scriptEval: false, noCloneEvent: true @@ -101,5 +97,5 @@ jQuery.props = { maxlength: "maxLength", cellspacing: "cellSpacing", rowspan: "rowSpan", - tabindex: jQuery.support.tabindex ? "tabindex" : "tabIndex" + tabindex: "tabIndex" }; |