[mirotalksfu] - fix typo

هذا الالتزام موجود في:
Miroslav Pejic
2025-08-08 01:41:18 +02:00
الأصل 1d88a19c03
التزام 2879df4fe9

عرض الملف

@@ -220,16 +220,14 @@ function customizeApp() {
// WIDGET customize
function customizeWidget() {
if (BRAND.widget?.enabled) {
window.addEventListener('DOMContentLoaded', function () {
if (typeof MiroTalkWidget !== 'undefined') {
const domain = window.location.host;
const roomId = 'support-room';
const userName = 'guest-' + Math.floor(Math.random() * 10000);
new MiroTalkWidget(domain, roomId, userName, BRAND.widget);
} else {
console.error('MiroTalkWidget is not defined. Please check Widget.js loading.');
}
});
if (typeof MiroTalkWidget !== 'undefined') {
const domain = window.location.host;
const roomId = 'support-room';
const userName = 'guest-' + Math.floor(Math.random() * 10000);
new MiroTalkWidget(domain, roomId, userName, BRAND.widget);
} else {
console.error('MiroTalkWidget is not defined. Please check Widget.js loading.');
}
}
}