[mirotalksfu] - fix typo + add tippy to participants btns
هذا الالتزام موجود في:
@@ -1313,6 +1313,7 @@ async function getRoomParticipants(refresh = false) {
|
||||
participantsCount = peers.size;
|
||||
roomParticipants.innerHTML = table;
|
||||
refreshParticipantsCount(participantsCount);
|
||||
setTableButtonsTippy();
|
||||
|
||||
if (!refresh) {
|
||||
toggleParticipants();
|
||||
@@ -1380,6 +1381,15 @@ async function getParticipantsTable(peers) {
|
||||
return table;
|
||||
}
|
||||
|
||||
function setTableButtonsTippy() {
|
||||
if (!DetectRTC.isMobileDevice) {
|
||||
setTippy('muteAllButton', 'Mute all participants', 'top');
|
||||
setTippy('hideAllButton', 'Hide all participants', 'top');
|
||||
setTippy('sendAllButton', 'Send file to all participants', 'top');
|
||||
setTippy('ejectAllButton', 'Eject all participants', 'top');
|
||||
}
|
||||
}
|
||||
|
||||
function refreshParticipantsCount(count) {
|
||||
participantsTitle.innerHTML = `<i class="fas fa-users"></i> Participants ( ${count} )`;
|
||||
}
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم