fix for join

This commit is contained in:
techgaun 2017-03-30 12:52:43 -05:00
parent 043841aa43
commit 8584e894d4
No known key found for this signature in database
GPG Key ID: 57FB3143221F7B30
1 changed files with 6 additions and 1 deletions

View File

@ -45,7 +45,12 @@ function showData(data) {
`
html.push(item)
}
document.getElementById('data-body').innerHTML = `<table class="table table-striped">${thead}<tbody>${html.join()}</tbody></table>`
document.getElementById('data-body').innerHTML = `
<table class="table table-striped">
${thead}
<tbody>${html.join('')}</tbody>
</table>
`
}
function timeSince(date_str) {