From 1f7c29b2cae92c95edd9c65330b2b5664976cc56 Mon Sep 17 00:00:00 2001 From: Cay Date: Fri, 13 Mar 2026 18:57:30 +0000 Subject: [PATCH] pop39 --- public/js/buildings/wohnhaus.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/js/buildings/wohnhaus.js b/public/js/buildings/wohnhaus.js index 374e5eb..0b50df9 100644 --- a/public/js/buildings/wohnhaus.js +++ b/public/js/buildings/wohnhaus.js @@ -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");