mirror of
https://github.com/sigmasternchen/mobmash.click
synced 2025-03-15 08:09:02 +00:00
fix: direction indicators were the wrong way round
This commit is contained in:
parent
88ef772b5b
commit
50659d19ae
1 changed files with 2 additions and 2 deletions
|
@ -10,9 +10,9 @@ function makeSortButton(string $field): void {
|
|||
if ($field == $orderColumn) {
|
||||
if ($orderDirection == "desc") {
|
||||
$direction = "asc";
|
||||
$icon = "fa-sort-up";
|
||||
} else {
|
||||
$icon = "fa-sort-down";
|
||||
} else {
|
||||
$icon = "fa-sort-up";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue