Ver código fonte

Removes unused code.

master
damencho 9 anos atrás
pai
commit
f2c5e7da41
1 arquivos alterados com 0 adições e 6 exclusões
  1. 0
    6
      modules/UI/videolayout/SmallVideo.js

+ 0
- 6
modules/UI/videolayout/SmallVideo.js Ver arquivo

@@ -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();

Carregando…
Cancelar
Salvar