fixed newsletyter1
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user