Skip to content

Commit

Permalink
Change table layout; save state
Browse files Browse the repository at this point in the history
  • Loading branch information
andylolz committed May 13, 2024
1 parent 16555f2 commit 9cb420c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions output/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ Proposed [Twitter community notes](https://twitter.com/i/communitynotes/download

<script>
let table = new DataTable('table', {
layout: {
topStart: 'paging',
bottomStart: 'paging',
bottomEnd: 'info',
bottom2End: 'pageLength'
},
stateSave: true,
fixedHeader: true,
ajax: {
url: '{{ '/data/notes.json' | relative_url }}',
Expand Down

0 comments on commit 9cb420c

Please sign in to comment.