Pārlūkot izejas kodu

Merge pull request #962 from jitsi/remove-tooltip

Remove tooltip update
j8
yanas 9 gadus atpakaļ
vecāks
revīzija
e894b0db43
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4
    0
      modules/UI/util/UIUtil.js

+ 4
- 0
modules/UI/util/UIUtil.js Parādīt failu

@@ -144,6 +144,10 @@ const TOOLTIP_POSITIONS = {
144 144
      */
145 145
     removeTooltip: function (element) {
146 146
         AJS.$(element).tooltip('destroy');
147
+        element.setAttribute('data-tooltip', '');
148
+        element.setAttribute('data-i18n','');
149
+        element.setAttribute('content','');
150
+        element.setAttribute('shortcut','');
147 151
     },
148 152
 
149 153
     /**

Notiek ielāde…
Atcelt
Saglabāt