Show and hide indicators using pure js

This commit is contained in:
Maxim Voloshin 2016-10-25 20:40:00 +03:00
parent 1c218191b0
commit 6820ec8d23
1 changed files with 2 additions and 2 deletions

View File

@ -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";
};
/**