Merge pull request #886 from jitsi/fix-some-tooltips

Fixes dominant speaker and raised hand tooltips
This commit is contained in:
Дамян Минков 2016-09-16 10:18:23 -05:00 committed by GitHub
commit 692f0792e1
1 changed files with 2 additions and 2 deletions

View File

@ -433,7 +433,7 @@ SmallVideo.prototype.showDominantSpeakerIndicator = function (show) {
indicatorSpan.innerHTML indicatorSpan.innerHTML
= "<i id='indicatoricon' class='fa fa-bullhorn'></i>"; = "<i id='indicatoricon' class='fa fa-bullhorn'></i>";
// adds a tooltip // adds a tooltip
UIUtil.setTooltip(indicatorSpan, "speaker", "left"); UIUtil.setTooltip(indicatorSpan, "speaker", "top");
APP.translation.translateElement($(indicatorSpan)); APP.translation.translateElement($(indicatorSpan));
$(indicatorSpan).css("visibility", show ? "visible" : "hidden"); $(indicatorSpan).css("visibility", show ? "visible" : "hidden");
@ -457,7 +457,7 @@ SmallVideo.prototype.showRaisedHandIndicator = function (show) {
= "<i id='indicatoricon' class='icon-raised-hand'></i>"; = "<i id='indicatoricon' class='icon-raised-hand'></i>";
// adds a tooltip // adds a tooltip
UIUtil.setTooltip(indicatorSpan, "raisedHand", "left"); UIUtil.setTooltip(indicatorSpan, "raisedHand", "top");
APP.translation.translateElement($(indicatorSpan)); APP.translation.translateElement($(indicatorSpan));
$(indicatorSpan).css("visibility", show ? "visible" : "hidden"); $(indicatorSpan).css("visibility", show ? "visible" : "hidden");