From f2c5e7da4140efcdc0962c6b0258dad917c1b892 Mon Sep 17 00:00:00 2001 From: damencho Date: Mon, 11 Jan 2016 17:34:02 -0600 Subject: [PATCH] Removes unused code. --- modules/UI/videolayout/SmallVideo.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.js index 5ffc582d7..824eb59f1 100644 --- a/modules/UI/videolayout/SmallVideo.js +++ b/modules/UI/videolayout/SmallVideo.js @@ -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();