feat: update URL param for duck mode activation
Changed URL query parameter from 'duckmode' to 'lang=quack' to improve clarity and maintain consistency with other language parameter conventions. This update helps ensure better readability and uniformity across the application.
This commit is contained in:
parent
b1c616ea50
commit
0777f287e3
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ function translateToDuckLanguage(node) {
|
|||
}
|
||||
}
|
||||
|
||||
// Translate if the "duckmode" parameter is present in the URL
|
||||
if (window.location.search.includes('duckmode')) {
|
||||
// Translate if the "lang=quack" parameter is present in the URL
|
||||
if (window.location.search.includes('lang=quack')) {
|
||||
document.body.childNodes.forEach(translateToDuckLanguage);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue