sorting is done above

This commit is contained in:
Azgaar 2022-05-20 23:05:25 +03:00
parent 5d919116dc
commit f7219f6314

View file

@ -143,9 +143,6 @@ function addListeners() {
byId("statesAdd").on("click", enterAddStateMode); byId("statesAdd").on("click", enterAddStateMode);
byId("statesExport").on("click", downloadStatesCsv); byId("statesExport").on("click", downloadStatesCsv);
const $header = byId("statesHeader");
$header.querySelectorAll(".sortable").forEach(element => element.on("click", () => sortLines(element)));
$body.on("click", event => { $body.on("click", event => {
const $element = event.target; const $element = event.target;
const classList = $element.classList; const classList = $element.classList;