diff options
author | Daniel Schadt <kingdread@gmx.de> | 2024-02-10 21:53:01 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2024-02-10 21:53:01 +0100 |
commit | 3968fad3a060c40a84eb07a0cf93e22e1161da61 (patch) | |
tree | f57490cda863521a352570cb5081435470a4564a /asset-sources | |
parent | f5015895c3e2c34744e59085d0c4a902caffee56 (diff) | |
download | fietsboek-3968fad3a060c40a84eb07a0cf93e22e1161da61.tar.gz fietsboek-3968fad3a060c40a84eb07a0cf93e22e1161da61.tar.bz2 fietsboek-3968fad3a060c40a84eb07a0cf93e22e1161da61.zip |
fix eslint
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(); |