Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-08-18 18:03:22 +03:00
parent cae5bed162
commit a5f42a2ff1

View File

@ -1180,6 +1180,9 @@ var Gallery = {
// NOTE: we are not implementing the whole drag process here
// because dragging up/down here is far more complicated
// than when doing it in dragover...
// XXX might be a good idea when dragged is null (dragging in files)
// to place a placeholder between images instead of styling
// the image below...
this.dom
.addEventListener('dragleave', function(evt){
if(!dragged