Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Removes unused code.

damenchof2c5e7da4140
diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.js
index 5ffc582d79..824eb59f1a 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();