pull/1/head
yflory 6 years ago
parent 0a66224222
commit 457a04e39a

@ -799,7 +799,7 @@ define([
// forever, this is a solution which just searches for tooltips which have no corrisponding element and removes // forever, this is a solution which just searches for tooltips which have no corrisponding element and removes
// them. // them.
$('.tippy-popper').each(function (i, el) { $('.tippy-popper').each(function (i, el) {
if (el._tippy && el._tippy.reference && document.body.contains(el._tippy.reference) { if (el._tippy && el._tippy.reference && document.body.contains(el._tippy.reference)) {
el._tippy.destroy(); el._tippy.destroy();
el.remove(); el.remove();
return; return;

Loading…
Cancel
Save