starshard/peafowl
Template
1
Fork 0
mirror of https://github.com/starshardstudio/peafowl.git synced 2024-11-22 04:54:19 +00:00
peafowl/_static/scripting/installSortOnLoad.js

5 lines
163 B
JavaScript

window.onload = function() {
const tableId = document.querySelector("table").id
installSort(tableId)
sortTable(tableId, readRating, (a, b) => b - a)
}