mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Core: widthFixed option will no longer target nested table colgroup elements
This commit is contained in:
parent
01aae38671
commit
830fd91129
@ -581,7 +581,7 @@
|
||||
function fixColumnWidth(table) {
|
||||
var colgroup, overallWidth,
|
||||
c = table.config;
|
||||
if (c.widthFixed && c.$table.find('colgroup').length === 0) {
|
||||
if (c.widthFixed && c.$table.children('colgroup').length === 0) {
|
||||
colgroup = $('<colgroup>');
|
||||
overallWidth = $(table).width();
|
||||
// only add col for visible columns - fixes #371
|
||||
|
Loading…
Reference in New Issue
Block a user