diff --git a/js/uhr.js b/js/uhr.js
index 6c2bb57..d08e86d 100644
--- a/js/uhr.js
+++ b/js/uhr.js
@@ -162,20 +162,18 @@ along with this program. If not, see .
// language chooser
if (uhrGlobals.languages.length > 1) {
var languageChooser = $('');
- for (var i = 0; i < uhrGlobals.languages.length; i++) {
- var language = uhrGlobals.languages[i];
- languageChooser.append('');
- }
+ uhrGlobals.languages.forEach(function (item) {
+ languageChooser.append('');
+ });
e.after(languageChooser);
}
// theme chooser
if (uhrGlobals.themes.length > 1) {
var themeChooser = $('');
- for (var i = 0; i < uhrGlobals.themes.length; i++) {
- var theme = uhrGlobals.themes[i];
- themeChooser.append('');
- }
+ uhrGlobals.themes.forEach(function (item) {
+ themeChooser.append('');
+ });
e.after(themeChooser);
}
}