Fix folder highlighting with drag&drop in the drive

pull/1/head
yflory 7 years ago
parent 1c7c37c121
commit e5a54b5978

@ -1118,7 +1118,7 @@ define([
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
counter++; counter++;
$element.addClass('droppable'); $element.addClass('cp-app-drive-element-droppable');
}); });
$element.on('dragleave', function (e) { $element.on('dragleave', function (e) {
e.preventDefault(); e.preventDefault();
@ -1126,7 +1126,7 @@ define([
counter--; counter--;
if (counter <= 0) { if (counter <= 0) {
counter = 0; counter = 0;
$element.removeClass('droppable'); $element.removeClass('cp-app-drive-element-droppable');
} }
}); });
}; };

Loading…
Cancel
Save