Selaa lähdekoodia

Updates comments.

master
damencho 9 vuotta sitten
vanhempi
commit
75b9adf01b
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2
    2
      modules/UI/util/JitsiPopover.js

+ 2
- 2
modules/UI/util/JitsiPopover.js Näytä tiedosto

69
     };
69
     };
70
 
70
 
71
     /**
71
     /**
72
-     * Hides the popover
72
+     * Hides the popover if not hovered or popover is not shown.
73
      */
73
      */
74
     JitsiPopover.prototype.hide = function () {
74
     JitsiPopover.prototype.hide = function () {
75
         if(!this.elementIsHovered && !this.popoverIsHovered &&
75
         if(!this.elementIsHovered && !this.popoverIsHovered &&
79
     };
79
     };
80
 
80
 
81
     /**
81
     /**
82
-     * Hides the popover.
82
+     * Hides the popover and clears the document elements added by popover.
83
      */
83
      */
84
     JitsiPopover.prototype.forceHide = function () {
84
     JitsiPopover.prototype.forceHide = function () {
85
         $(".jitsipopover").remove();
85
         $(".jitsipopover").remove();

Loading…
Peruuta
Tallenna