We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c67f5e commit 4c04d36Copy full SHA for 4c04d36
examples/locale-router-static/src/routes/[lang]/+layout.svelte
@@ -25,7 +25,7 @@
25
<select
26
on:change={({ target }) => {
27
goto(`/${target.value}${route}`);
28
- document.querySelector("html").setAttribute("lang", target.value);
+ document.querySelector('html').setAttribute('lang', target.value);
29
}}
30
>
31
{#each $locales as lc}
0 commit comments