Allow sorting in standings
This commit is contained in:
@@ -25,6 +25,7 @@ function publishHtml() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onLoad(() => {
|
onLoad(() => {
|
||||||
|
new Tablesort($('#standings-table')[0]);
|
||||||
$('.criterium').on('click', e => {
|
$('.criterium').on('click', e => {
|
||||||
let alreadyOpen = e.target.closest('select');
|
let alreadyOpen = e.target.closest('select');
|
||||||
if (alreadyOpen) return;
|
if (alreadyOpen) return;
|
||||||
|
Reference in New Issue
Block a user