Signed-off-by: ale <ale@manalejandro.com>
This commit is contained in:
parent
9ee7eed46a
commit
00ce9ef88b
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user