Try fix type error
This commit is contained in:
parent
cd3a4dad33
commit
b17894f7f1
@ -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