correct eval
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: ale <ale@manalejandro.com>
This commit is contained in:
ale 2024-11-18 06:36:25 +01:00
parent 9ee7eed46a
commit 00ce9ef88b
Signed by: ale
GPG Key ID: 244A9C4DAB1C0C81

View File

@ -38,7 +38,7 @@ document.addEventListener('DOMContentLoaded', function () {
loading()
fetch('/api/block_count/' + content).then(async function (result) {
var res = await result.text()
if (res?.length >= 0) {
if (res?.length > 0) {
document.getElementById('blockcount').innerText = res.split('\n').length
document.getElementById('blockinstance').innerText = 'ing ' + content
document.getElementById('blocktook').innerText = ''