[mirotalksfu] - exit room on click without confirm
هذا الالتزام موجود في:
@@ -1312,26 +1312,8 @@ class RoomClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
exitRoom() {
|
exitRoom() {
|
||||||
this.sound('open');
|
this.sound('eject');
|
||||||
|
this.exit();
|
||||||
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();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ####################################################
|
// ####################################################
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم