fix: add eslint-disable-next-line comments for map DOM manipulation
This commit is contained in:
@@ -49,6 +49,8 @@
|
||||
|
||||
// Create popup when map is ready
|
||||
|
||||
// eslint-disable-next-line svelte/no-dom-manipulating
|
||||
|
||||
$effect(() => {
|
||||
const map = mapCtx.getMap();
|
||||
const loaded = mapCtx.isLoaded();
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
|
||||
// Move content to marker element when ready
|
||||
|
||||
// eslint-disable-next-line svelte/no-dom-manipulating
|
||||
|
||||
$effect(() => {
|
||||
const element = markerCtx.getElement();
|
||||
const ready = markerCtx.isReady();
|
||||
|
||||
@@ -43,6 +43,8 @@
|
||||
|
||||
// Create popup when marker is ready
|
||||
|
||||
// eslint-disable-next-line svelte/no-dom-manipulating
|
||||
|
||||
$effect(() => {
|
||||
const marker = markerCtx.getMarker();
|
||||
const ready = markerCtx.isReady();
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
|
||||
// Create tooltip popup when marker is ready
|
||||
|
||||
// eslint-disable-next-line svelte/no-dom-manipulating
|
||||
|
||||
$effect(() => {
|
||||
const marker = markerCtx.getMarker();
|
||||
const markerElement = markerCtx.getElement();
|
||||
|
||||
Reference in New Issue
Block a user