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 -0Showing whitespace changes
public/scripts/extensions/gallery/index.js+3 -0
@@ -604,6 +604,9 @@ function makeDragImg(id, url) {
604604 }
605605 draggableElem.id = uniqueId;
606606
607+ // Add the galleryImageDraggable to have unique class
608+ draggableElem.classList.add('galleryImageDraggable');
609+
607610 // Ensure that the newly added element is displayed as block
608611 draggableElem.style.display = 'block';
609612 //and has no padding unlike other non-zoomed-avatar draggables