Compare commits

...

2 Commits

Author SHA1 Message Date
tracer 88cf11d45d removed init from sortOrder 2022-10-26 12:46:03 +02:00
tracer 6c203a0213 added DOCTYPE 2022-10-26 12:45:36 +02:00
2 changed files with 3 additions and 2 deletions

View File

@ -117,8 +117,8 @@ function sortBy(column) {
let rowYNumber = rowYId.charAt(rowYId.length -1) let rowYNumber = rowYId.charAt(rowYId.length -1)
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 {

View File

@ -1,3 +1,4 @@
<!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>Address Book <title>Address Book