Adding unique galleryImageDraggable class to draggable div with gallery Image inside (#4310)

8948d9773ed949ce2d1566d79e07477c70e8aa72

IceFog72 <164350516+IceFog72@users.noreply.github.com>

Signed
1 files changed, +3 -0Ignore whitespace
public/scripts/extensions/gallery/index.js+3 -0
@@ -604,6 +604,9 @@ function makeDragImg(id, url) {
604 }604 }
605 draggableElem.id = uniqueId;605 draggableElem.id = uniqueId;
606606
607 // Add the galleryImageDraggable to have unique class
608 draggableElem.classList.add('galleryImageDraggable');
609
607 // Ensure that the newly added element is displayed as block610 // Ensure that the newly added element is displayed as block
608 draggableElem.style.display = 'block';611 draggableElem.style.display = 'block';
609 //and has no padding unlike other non-zoomed-avatar draggables612 //and has no padding unlike other non-zoomed-avatar draggables