aboutsummaryrefslogtreecommitdiff
path: root/src/app/browser.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-04-17 16:34:41 +0200
committer0neGal <mail@0negal.com>2022-04-17 16:37:33 +0200
commitb4226cf152fa4ac35f7fe19a06a307ad026068c7 (patch)
tree35c80ace03c3b29ddc6951f08e4c2130801df749 /src/app/browser.js
parent1438d0634fad9129a3edb943f007da3dadedf834 (diff)
downloadViper-b4226cf152fa4ac35f7fe19a06a307ad026068c7.tar.gz
Viper-b4226cf152fa4ac35f7fe19a06a307ad026068c7.zip
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
Diffstat (limited to 'src/app/browser.js')
0 files changed, 0 insertions, 0 deletions