소스 검색

Show and hide indicators using pure js

master
Maxim Voloshin 8 년 전
부모
커밋
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
 /**

Loading…
취소
저장