r86108: Fix var name
authorLeo Koppelkamm <diebuche@users.mediawiki.org>
Fri, 15 Apr 2011 08:31:05 +0000 (08:31 +0000)
committerLeo Koppelkamm <diebuche@users.mediawiki.org>
Fri, 15 Apr 2011 08:31:05 +0000 (08:31 +0000)
resources/jquery/jquery.tablesorter.js

index 7b33b81..c713e4a 100644 (file)
                                        for ( var i = 0; i < l; i++ ) {
                                                p = false;
                                                sortType = $headers.eq(i).data('sort-type');
-                                               if ( typeof sortVal != 'undefined' ) {
-                                                       p = getParserById( sortVal );
+                                               if ( typeof sortType != 'undefined' ) {
+                                                       p = getParserById( sortType );
                                                }
 
                                                if (p === false) {