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
|
// 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();
|
||||||
|
|||||||
Reference in New Issue
Block a user