Browse Source

Fix comments

efficient_tiling
Maxim Voloshin 9 years ago
parent
commit
86f1d287d7
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      modules/UI/videolayout/SmallVideo.js

+ 5
- 1
modules/UI/videolayout/SmallVideo.js View File

@@ -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);

Loading…
Cancel
Save