Fixes mute check, prevents disabling the menu when the remote participant is muted.

This commit is contained in:
damencho 2015-11-04 17:23:49 -06:00
parent 5446c513f5
commit 374763c325
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ RemoteVideo.prototype.updateRemoteVideoMenu = function (isMuted) {
if (muteMenuItem.length) { if (muteMenuItem.length) {
var muteLink = muteMenuItem.get(0); var muteLink = muteMenuItem.get(0);
if (isMuted === 'true') { if (isMuted) {
muteLink.innerHTML = mutedIndicator + ' Muted'; muteLink.innerHTML = mutedIndicator + ' Muted';
muteLink.className = 'mutelink disabled'; muteLink.className = 'mutelink disabled';
} }