mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
More fixes to scrolling datatables
This commit is contained in:
parent
9e1c4b1a88
commit
0cbc4b9546
10 changed files with 257 additions and 231 deletions
|
@ -405,6 +405,10 @@ DOCUMENTATION :: END
|
|||
loadHistoryTable();
|
||||
});
|
||||
|
||||
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
|
||||
$.fn.dataTable.tables({ visible: true, api: true }).columns.adjust();
|
||||
});
|
||||
|
||||
% if _session['user_group'] == 'admin':
|
||||
function loadMediaInfoTable() {
|
||||
// Build media info table
|
||||
|
@ -602,11 +606,6 @@ DOCUMENTATION :: END
|
|||
$("#recently-added-page-right").removeClass("disabled");
|
||||
}
|
||||
});
|
||||
|
||||
$('a[data-toggle="tab"]').on( 'shown.bs.tab', function (e) {
|
||||
$(".dataTables_scrollHeadInner").css("width","100%");
|
||||
$("table.display").css("width","100%");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
% endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue