diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-03 21:51:50 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-03 21:51:50 +1300 |
commit | a7a2174c927d27eead9139eb9ff65dc87d7eefbc (patch) | |
tree | 99c422313f6c11f296b3ec43150da63e87dcaa17 /web/app/store | |
parent | 8416025e932669550c166cfc4263d55c149eed89 (diff) | |
download | traccar-server-a7a2174c927d27eead9139eb9ff65dc87d7eefbc.tar.gz traccar-server-a7a2174c927d27eead9139eb9ff65dc87d7eefbc.tar.bz2 traccar-server-a7a2174c927d27eead9139eb9ff65dc87d7eefbc.zip |
Fix remaining jshint warnings
Diffstat (limited to 'web/app/store')
-rw-r--r-- | web/app/store/Languages.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/app/store/Languages.js b/web/app/store/Languages.js index 66d3e6176..594953480 100644 --- a/web/app/store/Languages.js +++ b/web/app/store/Languages.js @@ -22,16 +22,16 @@ data: (function () { var code, data = []; - for (code in availableLanguages) { - if (availableLanguages.hasOwnProperty(code)) { + for (code in Locale.languages) { + if (Locale.languages.hasOwnProperty(code)) { data.push({ code: code, - name: availableLanguages[code].name + name: Locale.languages[code].name }); } } return data; - }()) + })() }); })(); |