mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
sorting is done above
This commit is contained in:
parent
5d919116dc
commit
f7219f6314
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue