Skip to content

Commit

Permalink
Removed FooterCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
73616e646572 committed Nov 5, 2024
1 parent 116c4bd commit e1187ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ table thead {

.dataTables_length,
.dataTables_filter {
padding-top: .755em;
padding: .5em;
}
5 changes: 0 additions & 5 deletions web/page.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,5 @@
<script>
new DataTable('#fair-table', {
pageLength: 50
footerCallback: function (row, data, start, end, display) {
var api = this.api();
$(api.column(0).footer()).html(
'Total repositories: ' + api.data().length
);
});
</script>

0 comments on commit e1187ec

Please sign in to comment.