[mirotalksfu] - replace alert with sweetalert

هذا الالتزام موجود في:
Miroslav Pejic
2025-01-12 22:52:56 +01:00
الأصل 10563228a5
التزام 4215ccaec9
10 ملفات معدلة مع 41 إضافات و15 حذوفات

15
public/js/Utils.js Normal file
عرض الملف

@@ -0,0 +1,15 @@
'use strict';
function popup(icon, text, position = 'center') {
Swal.fire({
background: '#1D2026',
position: position,
icon: icon,
text: text,
color: '#FFFFFF',
confirmButtonColor: '#1A84F5',
showClass: { popup: 'animate__animated animate__fadeInDown' },
hideClass: { popup: 'animate__animated animate__fadeOutUp' },
});
}
//...