Fix double tippy in drive elements

This commit is contained in:
yflory 2020-02-12 16:32:16 +01:00
parent f8ddb6b7bc
commit 723ed5248f
1 changed files with 7 additions and 0 deletions

View File

@ -2033,6 +2033,13 @@ define([
if (invalid) { if (invalid) {
return; return;
} }
$element.find('.fa').on('mouseenter', function (e) {
if ($element[0] && $element[0]._tippy) {
$element[0]._tippy.destroy();
}
e.stopPropagation();
});
$element.addClass(liClass); $element.addClass(liClass);
var droppable = !isTrash && !APP.$content.data('readOnlyFolder'); var droppable = !isTrash && !APP.$content.data('readOnlyFolder');
addDragAndDropHandlers($element, newPath, isFolder, droppable); addDragAndDropHandlers($element, newPath, isFolder, droppable);