summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Kirsch <kirschju@sec.in.tum.de>2014-11-18 18:35:13 +0100
committerJulian Kirsch <kirschju@sec.in.tum.de>2014-11-18 18:35:13 +0100
commit365b9351949033e145e731f8028116489746ce67 (patch)
tree48b68d35620c9cc45c595d27e50a49ab23575fa6
parent6d6e7f2c33fafbf4ff62c5997f1273bfc6ad8f41 (diff)
downloadwww-365b9351949033e145e731f8028116489746ce67.tar.gz
www-365b9351949033e145e731f8028116489746ce67.tar.bz2
www-365b9351949033e145e731f8028116489746ce67.zip
Load languages the first time you visit the page
-rw-r--r--lang.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang.js b/lang.js
index 51db1b22..9d3fc535 100644
--- a/lang.js
+++ b/lang.js
@@ -38,3 +38,5 @@ function loadLang()
if (l == 'null') l = get_default_lang();
setLang(l);
}
+
+window.onload = loadLang;