From b5747566e68b193d80c94690c7bc20ca32282e96 Mon Sep 17 00:00:00 2001 From: Mottie Date: Wed, 3 Sep 2014 08:24:08 -0500 Subject: [PATCH] StickyHeaders: Fix issue so it works with jQuery v1.2.6 again --- js/jquery.tablesorter.widgets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.tablesorter.widgets.js b/js/jquery.tablesorter.widgets.js index bcc4603a..b4243d70 100644 --- a/js/jquery.tablesorter.widgets.js +++ b/js/jquery.tablesorter.widgets.js @@ -1529,7 +1529,7 @@ ts.addWidget({ return; } var $table = c.$table, - $attach = $(wo.stickyHeaders_attachTo), + $attach = $(wo.stickyHeaders_attachTo || 'window'), $thead = $table.children('thead:first'), $win = $attach.length ? $attach : $(window), $header = $thead.children('tr').not('.sticky-false').children(),