fix: add eslint-disable-next-line comments for map DOM manipulation
Lint & Vuln Scan / Go vulnerabilities (push) Successful in 23s
Lint & Vuln Scan / Frontend lint & types (push) Failing after 38s

This commit is contained in:
2026-06-25 17:38:20 +01:00
parent a5812018d8
commit ecf8c23c49
4 changed files with 8 additions and 0 deletions
@@ -49,6 +49,8 @@
// Create popup when map is ready // Create popup when map is ready
// eslint-disable-next-line svelte/no-dom-manipulating
$effect(() => { $effect(() => {
const map = mapCtx.getMap(); const map = mapCtx.getMap();
const loaded = mapCtx.isLoaded(); const loaded = mapCtx.isLoaded();
@@ -22,6 +22,8 @@
// Move content to marker element when ready // Move content to marker element when ready
// eslint-disable-next-line svelte/no-dom-manipulating
$effect(() => { $effect(() => {
const element = markerCtx.getElement(); const element = markerCtx.getElement();
const ready = markerCtx.isReady(); const ready = markerCtx.isReady();
@@ -43,6 +43,8 @@
// Create popup when marker is ready // Create popup when marker is ready
// eslint-disable-next-line svelte/no-dom-manipulating
$effect(() => { $effect(() => {
const marker = markerCtx.getMarker(); const marker = markerCtx.getMarker();
const ready = markerCtx.isReady(); const ready = markerCtx.isReady();
@@ -23,6 +23,8 @@
// Create tooltip popup when marker is ready // Create tooltip popup when marker is ready
// eslint-disable-next-line svelte/no-dom-manipulating
$effect(() => { $effect(() => {
const marker = markerCtx.getMarker(); const marker = markerCtx.getMarker();
const markerElement = markerCtx.getElement(); const markerElement = markerCtx.getElement();