From 9763099ca1ad58f3fed8821d82963dd34acd2ce2 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Thu, 23 Jun 2011 17:12:36 +0000 Subject: [PATCH] Fix global var leaking that was making collationsort fail on Safari 5 Followup to r86088. --- resources/jquery/jquery.tablesorter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/jquery/jquery.tablesorter.js b/resources/jquery/jquery.tablesorter.js index 75c2520774..3f8c28c47f 100644 --- a/resources/jquery/jquery.tablesorter.js +++ b/resources/jquery/jquery.tablesorter.js @@ -817,6 +817,7 @@ //Pad Month and Day if ( s[0] && s[0].length == 1 ) s[0] = "0" + s[0]; if ( s[1] && s[1].length == 1 ) s[1] = "0" + s[1]; + var y; if ( !s[2] ) { //Fix yearless dates -- 2.20.1