Adding unique galleryImageDraggable class to draggable div with gallery Image inside (#4310)
Signed| @@ -604,6 +604,9 @@ function makeDragImg(id, url) { | ||
| 604 | 604 | } |
| 605 | 605 | draggableElem.id = uniqueId; |
| 606 | 606 | |
| 607 | + // Add the galleryImageDraggable to have unique class | |
| 608 | + draggableElem.classList.add('galleryImageDraggable'); | |
| 609 | + | |
| 607 | 610 | // Ensure that the newly added element is displayed as block |
| 608 | 611 | draggableElem.style.display = 'block'; |
| 609 | 612 | //and has no padding unlike other non-zoomed-avatar draggables |