[mirotalksfu] - exit room on click without confirm

هذا الالتزام موجود في:
Miroslav Pejic
2022-06-01 17:17:42 +02:00
الأصل 7390242bf3
التزام e831763db2

عرض الملف

@@ -1312,26 +1312,8 @@ class RoomClient {
}
exitRoom() {
this.sound('open');
Swal.fire({
background: swalBackground,
imageAlt: 'mirotalksfu-leave-room',
imageUrl: image.exit,
position: 'center',
title: 'Leave this room?',
showDenyButton: true,
confirmButtonText: `Yes`,
denyButtonText: `No`,
showClass: {
popup: 'animate__animated animate__fadeInDown',
},
hideClass: {
popup: 'animate__animated animate__fadeOutUp',
},
}).then((result) => {
if (result.isConfirmed) this.exit();
});
this.sound('eject');
this.exit();
}
// ####################################################