Removes unused code.

This commit is contained in:
damencho
2016-01-11 17:34:02 -06:00
parent 8249aea796
commit f2c5e7da41
-6
View File
@@ -255,15 +255,9 @@ SmallVideo.prototype.enableDominantSpeaker = function (isEnable) {
if (isEnable) {
this.showDisplayName(this.VideoLayout.isLargeVideoVisible());
if (!this.container.classList.contains("dominantspeaker"))
this.container.classList.add("dominantspeaker");
}
else {
this.showDisplayName(false);
if (this.container.classList.contains("dominantspeaker"))
this.container.classList.remove("dominantspeaker");
}
this.showAvatar();