diff --git a/lib/main.js b/lib/main.js index 1003216..3f18c4e 100644 --- a/lib/main.js +++ b/lib/main.js @@ -82,8 +82,9 @@ define(['moment', 'utils/router', 'leaflet', 'gui', 'helper', 'utils/language'], } } + language.init(router); + function update() { - language.init(router); return Promise.all(urls.map(helper.getJSON)) .then(handleData); }