aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes/prop.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/attributes/prop.js')
-rw-r--r--src/attributes/prop.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attributes/prop.js b/src/attributes/prop.js
index 71358aa92..651d9e215 100644
--- a/src/attributes/prop.js
+++ b/src/attributes/prop.js
@@ -64,7 +64,7 @@ jQuery.extend( {
// correct value when it hasn't been explicitly set
// 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" );
+ var tabindex = elem.getAttribute( "tabindex" );
if ( tabindex ) {
return parseInt( tabindex, 10 );