Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Show and hide indicators using pure js

Maxim Voloshin6820ec8d23b4
diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.js
index 3975fa4445..4f47eb70bd 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";
};
/**