diff options
Diffstat (limited to 'asset-sources')
-rw-r--r-- | asset-sources/fietsboek.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<K extends keyof GlobalEventHandlersEventMap>( * @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(); |