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

View file

@ -45,7 +45,12 @@ function showData(data) {
` `
html.push(item) 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) { function timeSince(date_str) {