From: Trevor Parscal Date: Fri, 1 Oct 2010 19:22:06 +0000 (+0000) Subject: Improved on r73046 by removing asumption of $ === jQuery. X-Git-Tag: 1.31.0-rc.0~34708 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=c769d30da76393ec58ce357b2ce7e7c1e47cb96c;p=lhc%2Fweb%2Fwiklou.git Improved on r73046 by removing asumption of $ === jQuery. --- 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; }