pis #2
@ -42,7 +42,9 @@ async function insertData(json) {
|
||||
}
|
||||
tableData += "</table>"
|
||||
div.insertAdjacentHTML("beforeend", tableData)
|
||||
document.getElementById('result-count').textContent = results
|
||||
if (results > 1) {
|
||||
document.getElementById('result-count').textContent = results.toString()
|
||||
}
|
||||
}
|
||||
|
||||
async function noData() {
|
||||
|
Reference in New Issue
Block a user