StickyHeaders: Fix issue so it works with jQuery v1.2.6 again

This commit is contained in:
Mottie 2014-09-03 08:24:08 -05:00
parent f1e32a26fe
commit b5747566e6

View File

@ -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(),