From 374763c325887b568cb71ae9b795380397a6f2c6 Mon Sep 17 00:00:00 2001 From: damencho Date: Wed, 4 Nov 2015 17:23:49 -0600 Subject: [PATCH] Fixes mute check, prevents disabling the menu when the remote participant is muted. --- modules/UI/videolayout/RemoteVideo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/UI/videolayout/RemoteVideo.js b/modules/UI/videolayout/RemoteVideo.js index 302246c8ee..5dc5ffaff4 100644 --- a/modules/UI/videolayout/RemoteVideo.js +++ b/modules/UI/videolayout/RemoteVideo.js @@ -320,7 +320,7 @@ RemoteVideo.prototype.updateRemoteVideoMenu = function (isMuted) { if (muteMenuItem.length) { var muteLink = muteMenuItem.get(0); - if (isMuted === 'true') { + if (isMuted) { muteLink.innerHTML = mutedIndicator + ' Muted'; muteLink.className = 'mutelink disabled'; }