From b4226cf152fa4ac35f7fe19a06a307ad026068c7 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Sun, 17 Apr 2022 16:34:41 +0200 Subject: changing the language now disables autolang This is for the sake of UX, as a user might be confused about why it doesn't work as they may not notice that they've to turn off auto-detect language first. Because of this Settings.switch() now has a state value, and if you provide a DOM element as the element arg it now uses that to know what to toggle, before we used to just provide a number, which made sense for generating the onclick events, but not for this task... This whole thing was brought up because of #115 --- src/app/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app/index.html') diff --git a/src/app/index.html b/src/app/index.html index e0718a8..4b3b79f 100644 --- a/src/app/index.html +++ b/src/app/index.html @@ -68,8 +68,8 @@
- +
-- cgit v1.2.3