X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fjquery%2Fjquery.tabIndex.js;h=dab437d4f03d1094463e1a752da35eb05cd15cdc;hb=47838dfd6d6f62ba5cc8b5f0140f325418eada3a;hp=ed37aa1ea3c9b56fb34891692ffdfd6c7fa8e461;hpb=2a2bbf0a5ddb382d2ca1ef7618c42ce3023379d8;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/jquery/jquery.tabIndex.js b/resources/src/jquery/jquery.tabIndex.js index ed37aa1ea3..dab437d4f0 100644 --- a/resources/src/jquery/jquery.tabIndex.js +++ b/resources/src/jquery/jquery.tabIndex.js @@ -1,7 +1,7 @@ /** * @class jQuery.plugin.tabIndex */ -( function ( $ ) { +( function () { /** * Find the lowest tabindex in use within a selection. @@ -13,7 +13,7 @@ $( this ).find( '[tabindex]' ).each( function () { var tabIndex = parseInt( $( this ).prop( 'tabindex' ), 10 ); // In IE6/IE7 the above jQuery selector returns all elements, - // becuase it has a default value for tabIndex in IE6/IE7 of 0 + // because it has a default value for tabIndex in IE6/IE7 of 0 // (rather than null/undefined). Therefore check "> 0" as well. // Under IE7 under Windows NT 5.2 is also capable of returning NaN. if ( tabIndex > 0 && !isNaN( tabIndex ) ) { @@ -54,4 +54,4 @@ * @mixins jQuery.plugin.tabIndex */ -}( jQuery ) ); +}() );