From a256568c0ce993bb8e8551f4fa09075bda45220f Mon Sep 17 00:00:00 2001 From: rene Date: Sun, 12 Apr 2026 18:05:35 +0200 Subject: [PATCH] Karte: Attribution per JS aus DOM entfernen Co-Authored-By: Claude Sonnet 4.6 --- backend/static/js/pages/poison.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/static/js/pages/poison.js b/backend/static/js/pages/poison.js index dbb97df..f44977c 100644 --- a/backend/static/js/pages/poison.js +++ b/backend/static/js/pages/poison.js @@ -132,6 +132,11 @@ window.Page_poison = (() => { L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, }).addTo(_map); + + // Attribution-Elemente aus dem DOM entfernen (doppelt sicher) + setTimeout(() => { + document.querySelectorAll('.leaflet-control-attribution').forEach(el => el.remove()); + }, 300); } // ----------------------------------------------------------