fixed newsletyter1

This commit is contained in:
2026-10-19 08:41:08 +02:00
parent ffe4ccbb06
commit f980c66257
2 changed files with 99 additions and 55 deletions
+3 -2
View File
@@ -1219,7 +1219,8 @@ $jsonFlags = JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_
$('#nlChecks').innerHTML = lastChecks.map(c =>
'<div class="' + c[0] + '"><i class="fas ' + (c[0] === 'error' ? 'fa-circle-xmark' : 'fa-triangle-exclamation') + ' me-1"></i>' + esc(c[1]) + '</div>').join('');
} catch (e) {
/* l'anteprima riprova alla prossima modifica */ }
/* l'anteprima riprova alla prossima modifica */
}
}
$$('.nl-device button').forEach(b => b.addEventListener('click', () => {
@@ -1333,7 +1334,7 @@ $jsonFlags = JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_
const t = $('[data-k="' + fileInput.dataset.upload + '"]', root);
t.value = j.url;
t.dispatchEvent(new Event('input'));
info.textContent = 'Caricata: ' + j.width + '×' + j.height + ' px, ' + j.kb + ' KB';
info.textContent = 'Caricata: ' + j.width + '×' + j.height + ' px, ' + j.kb + ' KB' + (j.note ? ' – ' + j.note : '');
} catch (e) {
info.textContent = '';
Swal.fire('Immagine non caricata', e.message || 'Errore di rete.', 'error');