Fix double tippy in drive elements

pull/1/head
yflory 5 years ago
parent f8ddb6b7bc
commit 723ed5248f

@ -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);

Loading…
Cancel
Save