| 604 | } | 604 | } |
| 605 | draggableElem.id = uniqueId; | 605 | draggableElem.id = uniqueId; |
| 606 | | 606 | |
| | 607 | // Add the galleryImageDraggable to have unique class |
| | 608 | draggableElem.classList.add('galleryImageDraggable'); |
| | 609 | |
| 607 | // Ensure that the newly added element is displayed as block | 610 | // 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 draggables | 612 | //and has no padding unlike other non-zoomed-avatar draggables |