Skip to content

Commit

Permalink
adiciona 'sort' na configuração aos cabeçalhos de tabelas
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrelamor committed Oct 9, 2023
1 parent 94946ef commit fc191f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/javascripts/tablesort.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
document$.subscribe(function() {
var tables = document.querySelectorAll("article table:not([class])")
tables.forEach(function(table) {
new Tablesort(table)
})
})

0 comments on commit fc191f1

Please sign in to comment.