http://www.mediawiki.org/wiki/Special:Code/MediaWiki/74088

Revision: 74088
Author:   tparscal
Date:     2010-10-01 19:22:06 +0000 (Fri, 01 Oct 2010)

Log Message:
-----------
Improved on r73046 by removing asumption of $ === jQuery.

Modified Paths:
--------------
    trunk/phase3/resources/jquery/jquery.tabIndex.js

Modified: trunk/phase3/resources/jquery/jquery.tabIndex.js
===================================================================
--- trunk/phase3/resources/jquery/jquery.tabIndex.js    2010-10-01 19:20:27 UTC 
(rev 74087)
+++ trunk/phase3/resources/jquery/jquery.tabIndex.js    2010-10-01 19:22:06 UTC 
(rev 74088)
@@ -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.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;
                }



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to