[mirotalksfu] - add msg popup

هذا الالتزام موجود في:
Miroslav
2022-11-25 09:24:19 +01:00
الأصل 3d8afeb949
التزام e4680284ea

عرض الملف

@@ -1053,8 +1053,13 @@ function handleSelects() {
}; };
// chat // chat
showChatOnMsg.onchange = (e) => { showChatOnMsg.onchange = (e) => {
rc.showChatOnMessage = e.currentTarget.checked;
sound('click'); sound('click');
rc.showChatOnMessage = e.currentTarget.checked;
if (rc.showChatOnMessage) {
userLog('info', "Chat will be shown, when I'm receive a new message", 'top-end');
} else {
userLog('info', "Chat not will be shown, when I'm receive a new message", 'top-end');
}
}; };
// whiteboard options // whiteboard options
wbDrawingColorEl.onchange = () => { wbDrawingColorEl.onchange = () => {
@@ -1295,6 +1300,7 @@ function userLog(icon, message, position, timer = 3000) {
position: position, position: position,
showConfirmButton: false, showConfirmButton: false,
timer: timer, timer: timer,
timerProgressBar: true,
}); });
Toast.fire({ Toast.fire({
icon: icon, icon: icon,