From 6820ec8d23b4c42ddb1f4a730e59d1b8a7a64e07 Mon Sep 17 00:00:00 2001 From: Maxim Voloshin Date: Tue, 25 Oct 2016 20:40:00 +0300 Subject: [PATCH] Show and hide indicators using pure js --- modules/UI/videolayout/SmallVideo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.js index 3975fa444..4f47eb70b 100644 --- a/modules/UI/videolayout/SmallVideo.js +++ b/modules/UI/videolayout/SmallVideo.js @@ -525,7 +525,7 @@ SmallVideo.prototype.showDominantSpeakerIndicator = function (show) { tooltip: 'speaker' }); - $(indicatorSpan)[show ? "show" : "hide"](); + indicatorSpan.style.display = show ? "" : "none"; }; /** @@ -545,7 +545,7 @@ SmallVideo.prototype.showRaisedHandIndicator = function (show) { tooltip: 'raisedHand' }); - $(indicatorSpan)[show ? "show" : "hide"](); + indicatorSpan.style.display = show ? "" : "none"; }; /**