From c769d30da76393ec58ce357b2ce7e7c1e47cb96c Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Fri, 1 Oct 2010 19:22:06 +0000 Subject: [PATCH] Improved on r73046 by removing asumption of $ === jQuery. --- resources/jquery/jquery.tabIndex.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/jquery/jquery.tabIndex.js b/resources/jquery/jquery.tabIndex.js index 3bce092c05..3a33dfb006 100644 --- a/resources/jquery/jquery.tabIndex.js +++ b/resources/jquery/jquery.tabIndex.js @@ -5,8 +5,8 @@ */ jQuery.fn.firstTabIndex = function() { var minTabIndex = 0; - $(this).find( '[tabindex]' ).each( function() { - var tabIndex = parseInt( $(this).attr( 'tabindex' ) ); + jQuery(this).find( '[tabindex]' ).each( function() { + var tabIndex = parseInt( jQuery(this).attr( 'tabindex' ) ); if ( tabIndex > minTabIndex ) { minTabIndex = tabIndex; } @@ -20,8 +20,8 @@ jQuery.fn.firstTabIndex = function() { */ jQuery.fn.lastTabIndex = function() { var maxTabIndex = 0; - $(this).find( '[tabindex]' ).each( function() { - var tabIndex = parseInt( $(this).attr( 'tabindex' ) ); + jQuery(this).find( '[tabindex]' ).each( function() { + var tabIndex = parseInt( jQuery(this).attr( 'tabindex' ) ); if ( tabIndex > maxTabIndex ) { maxTabIndex = tabIndex; } -- 2.20.1