Removing unneeded wraps and using $ and mw instead of jQuery or mediaWiki since r7924...
[lhc/web/wiklou.git] / resources / jquery / jquery.tabIndex.js
index 3bce092..3ae1a5c 100644 (file)
@@ -1,9 +1,9 @@
 /**
  * Finds the lowerst tabindex in use within a selection
  * 
- * @return Integer of lowest tabindex on the page
+ * @return number Lowest tabindex on the page
  */
-jQuery.fn.firstTabIndex = function() {
+$.fn.firstTabIndex = function() {
        var minTabIndex = 0;
        $(this).find( '[tabindex]' ).each( function() {
                var tabIndex = parseInt( $(this).attr( 'tabindex' ) );
@@ -13,12 +13,13 @@ jQuery.fn.firstTabIndex = function() {
        } );
        return minTabIndex;
 };
+
 /**
  * Finds the highest tabindex in use within a selection
  * 
- * @return Integer of highest tabindex on the page
+ * @return number Highest tabindex on the page
  */
-jQuery.fn.lastTabIndex = function() {
+$.fn.lastTabIndex = function() {
        var maxTabIndex = 0;
        $(this).find( '[tabindex]' ).each( function() {
                var tabIndex = parseInt( $(this).attr( 'tabindex' ) );