removed init from sortOrder

This commit is contained in:
tracer 2022-10-26 12:46:03 +02:00
parent 6c203a0213
commit 88cf11d45d

View File

@ -117,8 +117,8 @@ function sortBy(column) {
let rowYNumber = rowYId.charAt(rowYId.length -1)
let valueY = document.getElementById(column + '_' + rowYNumber).value
let currentSortOrder = document.getElementById(column + '_sort')
let sortOrder = 0
let currentSortOrder = document.getElementById(column + '_sort')
let sortOrder
if (currentSortOrder.innerHTML === 'asc') {
sortOrder = 1
} else {