This commit is contained in:
2026-01-28 00:37:35 +03:00
parent c009a78f61
commit 4b01c2d4de

View File

@ -699,7 +699,17 @@
}
if (text) {
announcementEl.textContent = text;
announcementEl.innerHTML = text;
// Инициализируем иконки Lucide после установки HTML
if (typeof lucide !== 'undefined') {
setTimeout(() => {
try {
lucide.createIcons();
} catch (e) {
console.warn('Error updating Lucide icons in attack announcement:', e);
}
}, 10);
}
announcementEl.classList.remove('hidden');
setTimeout(() => {
announcementEl.classList.add('hidden');