fix(SmallVideo): Add translateElement call removed by previous commit
This commit is contained in:
parent
05fcaa2554
commit
8762aae111
|
@ -1,4 +1,4 @@
|
||||||
/* global $, JitsiMeetJS, interfaceConfig */
|
/* global $, APP, JitsiMeetJS, interfaceConfig */
|
||||||
import Avatar from "../avatar/Avatar";
|
import Avatar from "../avatar/Avatar";
|
||||||
import UIUtil from "../util/UIUtil";
|
import UIUtil from "../util/UIUtil";
|
||||||
import UIEvents from "../../../service/UI/UIEvents";
|
import UIEvents from "../../../service/UI/UIEvents";
|
||||||
|
@ -570,11 +570,8 @@ SmallVideo.prototype.getIndicatorSpan = function(options) {
|
||||||
|
|
||||||
indicator.innerHTML = options.content;
|
indicator.innerHTML = options.content;
|
||||||
|
|
||||||
// This element will be translated by UIUtil.setTooltip and
|
|
||||||
// that's why it is not translated here.
|
|
||||||
// Do not translate the same element multiple times in a row
|
|
||||||
// because it prevents tooltip from disappearing.
|
|
||||||
UIUtil.setTooltip(indicator, options.tooltip, "top");
|
UIUtil.setTooltip(indicator, options.tooltip, "top");
|
||||||
|
APP.translation.translateElement($(indicator));
|
||||||
|
|
||||||
this.container.appendChild(indicator);
|
this.container.appendChild(indicator);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue