diff options
Diffstat (limited to 'client/simple/src/js/main')
| -rw-r--r-- | client/simple/src/js/main/infinite_scroll.ts | 2 | ||||
| -rw-r--r-- | client/simple/src/js/main/mapresult.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/simple/src/js/main/infinite_scroll.ts b/client/simple/src/js/main/infinite_scroll.ts index c9fb79855..b286bce37 100644 --- a/client/simple/src/js/main/infinite_scroll.ts +++ b/client/simple/src/js/main/infinite_scroll.ts @@ -83,7 +83,7 @@ const observer: IntersectionObserver = new IntersectionObserver((entries: Inters if (paginationEntry?.isIntersecting) { observer.unobserve(paginationEntry.target); - loadNextPage(onlyImages, () => { + void loadNextPage(onlyImages, () => { const nextObservedElement = document.querySelector<HTMLElement>(observedSelector); if (nextObservedElement) { observer.observe(nextObservedElement); diff --git a/client/simple/src/js/main/mapresult.ts b/client/simple/src/js/main/mapresult.ts index 88373186b..32bbec4fc 100644 --- a/client/simple/src/js/main/mapresult.ts +++ b/client/simple/src/js/main/mapresult.ts @@ -22,7 +22,7 @@ listen("click", ".searxng_init_map", async function (this: HTMLElement, event: E Feature, Point } = await import("../pkg/ol.ts"); - import("ol/ol.css"); + void import("ol/ol.css"); const { leafletTarget: target, mapLon, mapLat, mapGeojson } = this.dataset; |