From 95ef19952a2eb29ec64c148c84c42fd5879f4eda Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Sun, 2 Aug 2020 12:21:14 +0200 Subject: [PATCH] add comment --- www/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/index.js b/www/index.js index 474bceb..6f3893e 100644 --- a/www/index.js +++ b/www/index.js @@ -446,6 +446,7 @@ function init() { // hide fields updateImages(); + // default to browser language var user_lang = (navigator.language || navigator.userLanguage).split('-')[0]; if (user_lang in translations) { config.language = user_lang; -- 2.30.2