|
@@ -1558,14 +1558,14 @@ function addRemoteVideoMenu(jid, parentElement) {
|
1558
|
1558
|
var muteMenuItem = document.createElement('li');
|
1559
|
1559
|
var muteLinkItem = document.createElement('a');
|
1560
|
1560
|
|
1561
|
|
- var mutedIndicator = "<i class='icon-mic-disabled'></i>";
|
|
1561
|
+ var mutedIndicator = "<span><i class='icon-mic-disabled'></i></span>";
|
1562
|
1562
|
|
1563
|
1563
|
if (!mutedAudios[jid]) {
|
1564
|
1564
|
muteLinkItem.innerHTML = mutedIndicator + 'Mute';
|
1565
|
1565
|
muteLinkItem.className = 'mutelink';
|
1566
|
1566
|
}
|
1567
|
1567
|
else {
|
1568
|
|
- muteLinkItem.innerHTML = mutedIndicator + ' Muted';
|
|
1568
|
+ muteLinkItem.innerHTML = mutedIndicator + 'Muted';
|
1569
|
1569
|
muteLinkItem.className = 'mutelink disabled';
|
1570
|
1570
|
}
|
1571
|
1571
|
|
|
@@ -1578,11 +1578,11 @@ function addRemoteVideoMenu(jid, parentElement) {
|
1578
|
1578
|
popupmenuElement.setAttribute('style', 'display:none;');
|
1579
|
1579
|
|
1580
|
1580
|
if (isMute) {
|
1581
|
|
- this.innerHTML = mutedIndicator + ' Muted';
|
|
1581
|
+ this.innerHTML = mutedIndicator + 'Muted';
|
1582
|
1582
|
this.className = 'mutelink disabled';
|
1583
|
1583
|
}
|
1584
|
1584
|
else {
|
1585
|
|
- this.innerHTML = mutedIndicator + ' Mute';
|
|
1585
|
+ this.innerHTML = mutedIndicator + 'Mute';
|
1586
|
1586
|
this.className = 'mutelink';
|
1587
|
1587
|
}
|
1588
|
1588
|
};
|
|
@@ -1590,11 +1590,11 @@ function addRemoteVideoMenu(jid, parentElement) {
|
1590
|
1590
|
muteMenuItem.appendChild(muteLinkItem);
|
1591
|
1591
|
popupmenuElement.appendChild(muteMenuItem);
|
1592
|
1592
|
|
1593
|
|
- var ejectIndicator = "<i class='fa fa-eject'></i>";
|
|
1593
|
+ var ejectIndicator = "<span><i class='icon-kick'></i></span>";
|
1594
|
1594
|
|
1595
|
1595
|
var ejectMenuItem = document.createElement('li');
|
1596
|
1596
|
var ejectLinkItem = document.createElement('a');
|
1597
|
|
- ejectLinkItem.innerHTML = ejectIndicator + ' Kick out';
|
|
1597
|
+ ejectLinkItem.innerHTML = ejectIndicator + 'Kick out';
|
1598
|
1598
|
ejectLinkItem.onclick = function(){
|
1599
|
1599
|
connection.moderate.eject(jid);
|
1600
|
1600
|
popupmenuElement.setAttribute('style', 'display:none;');
|
|
@@ -1610,17 +1610,17 @@ function updateRemoteVideoMenu(jid, isMuted) {
|
1610
|
1610
|
+ Strophe.getResourceFromJid(jid)
|
1611
|
1611
|
+ '>li>a.mutelink');
|
1612
|
1612
|
|
1613
|
|
- var mutedIndicator = "<i class='icon-mic-disabled'></i>";
|
|
1613
|
+ var mutedIndicator = "<span><i class='icon-mic-disabled'></i></span>";
|
1614
|
1614
|
|
1615
|
1615
|
if (muteMenuItem.length) {
|
1616
|
1616
|
var muteLink = muteMenuItem.get(0);
|
1617
|
1617
|
|
1618
|
1618
|
if (isMuted === 'true') {
|
1619
|
|
- muteLink.innerHTML = mutedIndicator + ' Muted';
|
|
1619
|
+ muteLink.innerHTML = mutedIndicator + 'Muted';
|
1620
|
1620
|
muteLink.className = 'mutelink disabled';
|
1621
|
1621
|
}
|
1622
|
1622
|
else {
|
1623
|
|
- muteLink.innerHTML = mutedIndicator + ' Mute';
|
|
1623
|
+ muteLink.innerHTML = mutedIndicator + 'Mute';
|
1624
|
1624
|
muteLink.className = 'mutelink';
|
1625
|
1625
|
}
|
1626
|
1626
|
}
|