Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Adds utility method to remove tooltips.

damenchodf3b7e2dbc51
diff --git a/modules/UI/util/UIUtil.js b/modules/UI/util/UIUtil.js
index 81e296f316..531a56068b 100644
--- a/modules/UI/util/UIUtil.js
+++ b/modules/UI/util/UIUtil.js
@@ -113,6 +113,15 @@ import KeyboardShortcut from '../../keyboardshortcut/keyboardshortcut';
});
},
+ /**
+ * Removes the tooltip to the given element.
+ *
+ * @param element the element to remove the tooltip from
+ */
+ removeTooltip: function (element) {
+ AJS.$(element).tooltip('destroy');
+ },
+
/**
* Internal util function for generating tooltip title.
*