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