implement clearTooltips

pull/1/head
ansuz 8 years ago
parent a68a225d79
commit 3fa010027c

@ -297,6 +297,11 @@ define([
}; };
// Tooltips // Tooltips
UI.clearTooltips = function () {
$('.tippy-popper').remove();
};
UI.addTooltips = function () { UI.addTooltips = function () {
var MutationObserver = window.MutationObserver; var MutationObserver = window.MutationObserver;
var addTippy = function (el) { var addTippy = function (el) {

@ -77,6 +77,7 @@ define([
common.unnotify = UI.unnotify; common.unnotify = UI.unnotify;
common.getIcon = UI.getIcon; common.getIcon = UI.getIcon;
common.addTooltips = UI.addTooltips; common.addTooltips = UI.addTooltips;
common.clearTooltips = UI.clearTooltips;
// import common utilities for export // import common utilities for export
common.find = Util.find; common.find = Util.find;

Loading…
Cancel
Save