mirror of https://github.com/xwiki-labs/cryptpad
Fix double tippy in drive elements
This commit is contained in:
parent
f8ddb6b7bc
commit
723ed5248f
|
@ -2033,6 +2033,13 @@ define([
|
|||
if (invalid) {
|
||||
return;
|
||||
}
|
||||
|
||||
$element.find('.fa').on('mouseenter', function (e) {
|
||||
if ($element[0] && $element[0]._tippy) {
|
||||
$element[0]._tippy.destroy();
|
||||
}
|
||||
e.stopPropagation();
|
||||
});
|
||||
$element.addClass(liClass);
|
||||
var droppable = !isTrash && !APP.$content.data('readOnlyFolder');
|
||||
addDragAndDropHandlers($element, newPath, isFolder, droppable);
|
||||
|
|
Loading…
Reference in New Issue