Remove useless local var decl.
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Sun, 11 Dec 2011 12:26:28 +0000 (12:26 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Sun, 11 Dec 2011 12:26:28 +0000 (12:26 +0000)
tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js

index a4fd82d..6859eaf 100644 (file)
@@ -535,12 +535,12 @@ test( 'bug 32888 - Tables inside a tableheader cell', function() {
                );
        $table.tablesorter();
 
-       var test1 = equals(
+       equals(
                $table.find('> thead:eq(0) > tr > th.headerSort').length,
                1,
                'Child tables inside a headercell should not interfere with sortable headers (bug 32888)'
        );
-       var test1 = equals(
+       equals(
                $('#32888-2').find('th.headerSort').length,
                0,
                'The headers of child tables inside a headercell should not be sortable themselves (bug 32888)'