Browse Source

Removes unused code.

master
damencho 9 years ago
parent
commit
f2c5e7da41
1 changed files with 0 additions and 6 deletions
  1. 0
    6
      modules/UI/videolayout/SmallVideo.js

+ 0
- 6
modules/UI/videolayout/SmallVideo.js View File

@@ -255,15 +255,9 @@ SmallVideo.prototype.enableDominantSpeaker = function (isEnable) {
255 255
 
256 256
     if (isEnable) {
257 257
         this.showDisplayName(this.VideoLayout.isLargeVideoVisible());
258
-
259
-        if (!this.container.classList.contains("dominantspeaker"))
260
-            this.container.classList.add("dominantspeaker");
261 258
     }
262 259
     else {
263 260
         this.showDisplayName(false);
264
-
265
-        if (this.container.classList.contains("dominantspeaker"))
266
-            this.container.classList.remove("dominantspeaker");
267 261
     }
268 262
 
269 263
     this.showAvatar();

Loading…
Cancel
Save