ソースを参照

Show and hide indicators using pure js

master
Maxim Voloshin 9年前
コミット
6820ec8d23
1個のファイルの変更2行の追加2行の削除
  1. 2
    2
      modules/UI/videolayout/SmallVideo.js

+ 2
- 2
modules/UI/videolayout/SmallVideo.js ファイルの表示

@@ -525,7 +525,7 @@ SmallVideo.prototype.showDominantSpeakerIndicator = function (show) {
525 525
         tooltip: 'speaker'
526 526
     });
527 527
 
528
-    $(indicatorSpan)[show ? "show" : "hide"]();
528
+    indicatorSpan.style.display = show ? "" : "none";
529 529
 };
530 530
 
531 531
 /**
@@ -545,7 +545,7 @@ SmallVideo.prototype.showRaisedHandIndicator = function (show) {
545 545
         tooltip: 'raisedHand'
546 546
     });
547 547
 
548
-    $(indicatorSpan)[show ? "show" : "hide"]();
548
+    indicatorSpan.style.display = show ? "" : "none";
549 549
 };
550 550
 
551 551
 /**

読み込み中…
キャンセル
保存