Fix broken network tables

This commit is contained in:
joeuhren
2020-12-18 18:13:23 -07:00
parent 2df8a3f994
commit 3a0eb3fdbf
+5 -3
View File
@@ -40,9 +40,11 @@ script.
]
});
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
$($.fn.dataTable.tables(true)).DataTable().responsive.recalc();
$($.fn.dataTable.tables(true)).css('width', '100%');
$($.fn.dataTable.tables(true)).DataTable().columns.adjust().draw();
var table = $($.fn.dataTable.tables(true));
if (table.DataTable().responsive != null) table.DataTable().responsive.recalc();
table.css('width', '100%');
table.DataTable().columns.adjust().draw();
fixFooterHeightAndPosition();
});
});