From ebdbfd34c8fad61f9b8ab15917cbdfb66954c94c Mon Sep 17 00:00:00 2001 From: dirckvdende <128695295+dirckvdende@users.noreply.github.com> Date: Sat, 7 Feb 2026 12:02:30 +0100 Subject: [PATCH] #165 - Replaced unsupported attributeStyleMap property use --- src/composables/useMapPointerDrag.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/composables/useMapPointerDrag.ts b/src/composables/useMapPointerDrag.ts index 99c2b74..586d32d 100644 --- a/src/composables/useMapPointerDrag.ts +++ b/src/composables/useMapPointerDrag.ts @@ -24,9 +24,9 @@ export type PointerDragState = { */ export function toggleCursor(cursor: string | null): void { if (cursor === null) - document.documentElement.attributeStyleMap.delete("cursor") + document.documentElement.style.cursor = "" else - document.documentElement.attributeStyleMap.set("cursor", cursor) + document.documentElement.style.cursor = cursor } /**