Removes unused code.

This commit is contained in:
damencho 2016-01-11 17:34:02 -06:00
parent 8249aea796
commit f2c5e7da41
1 changed files with 0 additions and 6 deletions

View File

@ -255,15 +255,9 @@ SmallVideo.prototype.enableDominantSpeaker = function (isEnable) {
if (isEnable) { if (isEnable) {
this.showDisplayName(this.VideoLayout.isLargeVideoVisible()); this.showDisplayName(this.VideoLayout.isLargeVideoVisible());
if (!this.container.classList.contains("dominantspeaker"))
this.container.classList.add("dominantspeaker");
} }
else { else {
this.showDisplayName(false); this.showDisplayName(false);
if (this.container.classList.contains("dominantspeaker"))
this.container.classList.remove("dominantspeaker");
} }
this.showAvatar(); this.showAvatar();