From 3968fad3a060c40a84eb07a0cf93e22e1161da61 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sat, 10 Feb 2024 21:53:01 +0100 Subject: fix eslint --- asset-sources/fietsboek.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asset-sources') diff --git a/asset-sources/fietsboek.ts b/asset-sources/fietsboek.ts index bdd56ef..1073ae4 100644 --- a/asset-sources/fietsboek.ts +++ b/asset-sources/fietsboek.ts @@ -57,7 +57,7 @@ function addHandler( * @param event - The triggering event. */ function languageClicked(event: MouseEvent) { - let language = (event.target as HTMLElement).getAttribute("data-langcode"); + const language = (event.target as HTMLElement).getAttribute("data-langcode"); document.cookie = "fietsboek_locale=" + language; window.location.reload(); event.preventDefault(); -- cgit v1.2.3