Show and hide indicators using pure js
This commit is contained in:
parent
1c218191b0
commit
6820ec8d23
|
@ -525,7 +525,7 @@ SmallVideo.prototype.showDominantSpeakerIndicator = function (show) {
|
||||||
tooltip: 'speaker'
|
tooltip: 'speaker'
|
||||||
});
|
});
|
||||||
|
|
||||||
$(indicatorSpan)[show ? "show" : "hide"]();
|
indicatorSpan.style.display = show ? "" : "none";
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -545,7 +545,7 @@ SmallVideo.prototype.showRaisedHandIndicator = function (show) {
|
||||||
tooltip: 'raisedHand'
|
tooltip: 'raisedHand'
|
||||||
});
|
});
|
||||||
|
|
||||||
$(indicatorSpan)[show ? "show" : "hide"]();
|
indicatorSpan.style.display = show ? "" : "none";
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue