This commit is contained in:
Cay 2026-03-13 18:57:30 +00:00
parent ed4e488ce8
commit 1f7c29b2ca

View File

@ -158,6 +158,8 @@ function initDrag() {
function initSlotDrag() {
document.querySelectorAll(".slot img").forEach((img) => {
img.setAttribute("draggable", "true");
img.addEventListener("dragstart", (e) => {
const slot = img.closest(".slot");