removed init from sortOrder
This commit is contained in:
parent
6c203a0213
commit
88cf11d45d
|
@ -118,7 +118,7 @@ function sortBy(column) {
|
||||||
let valueY = document.getElementById(column + '_' + rowYNumber).value
|
let valueY = document.getElementById(column + '_' + rowYNumber).value
|
||||||
|
|
||||||
let currentSortOrder = document.getElementById(column + '_sort')
|
let currentSortOrder = document.getElementById(column + '_sort')
|
||||||
let sortOrder = 0
|
let sortOrder
|
||||||
if (currentSortOrder.innerHTML === 'asc') {
|
if (currentSortOrder.innerHTML === 'asc') {
|
||||||
sortOrder = 1
|
sortOrder = 1
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue