浏览代码

Removes unused code.

master
damencho 9 年前
父节点
当前提交
f2c5e7da41
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0
    6
      modules/UI/videolayout/SmallVideo.js

+ 0
- 6
modules/UI/videolayout/SmallVideo.js 查看文件

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

正在加载...
取消
保存