|
|
@@ -555,7 +555,7 @@ SmallVideo.prototype.showRaisedHandIndicator = function (show) {
|
|
555
|
555
|
* @param options.content {String} HTML content of the indicator
|
|
556
|
556
|
* @param options.tooltip {String} The key that should be passed to tooltip
|
|
557
|
557
|
*
|
|
558
|
|
- * @returns {HTMLElement} the raised hand indicator
|
|
|
558
|
+ * @returns {HTMLElement} DOM represention of the indicator
|
|
559
|
559
|
*/
|
|
560
|
560
|
SmallVideo.prototype.getIndicatorSpan = function(options) {
|
|
561
|
561
|
var indicator = this.container.querySelector('#' + options.id);
|
|
|
@@ -570,6 +570,10 @@ SmallVideo.prototype.getIndicatorSpan = function(options) {
|
|
570
|
570
|
|
|
571
|
571
|
indicator.innerHTML = options.content;
|
|
572
|
572
|
|
|
|
573
|
+ // This element will be translated by UIUtil.setTooltip and
|
|
|
574
|
+ // that's why it is not translated here.
|
|
|
575
|
+ // Do not translate the same element multiple times in a row
|
|
|
576
|
+ // because it prevents tooltip from disappearing.
|
|
573
|
577
|
UIUtil.setTooltip(indicator, options.tooltip, "top");
|
|
574
|
578
|
|
|
575
|
579
|
this.container.appendChild(indicator);
|