Removes unused code.
This commit is contained in:
parent
8249aea796
commit
f2c5e7da41
|
@ -255,15 +255,9 @@ SmallVideo.prototype.enableDominantSpeaker = function (isEnable) {
|
||||||
|
|
||||||
if (isEnable) {
|
if (isEnable) {
|
||||||
this.showDisplayName(this.VideoLayout.isLargeVideoVisible());
|
this.showDisplayName(this.VideoLayout.isLargeVideoVisible());
|
||||||
|
|
||||||
if (!this.container.classList.contains("dominantspeaker"))
|
|
||||||
this.container.classList.add("dominantspeaker");
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.showDisplayName(false);
|
this.showDisplayName(false);
|
||||||
|
|
||||||
if (this.container.classList.contains("dominantspeaker"))
|
|
||||||
this.container.classList.remove("dominantspeaker");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.showAvatar();
|
this.showAvatar();
|
||||||
|
|
Loading…
Reference in New Issue