in setLocale, only call callback once

This commit is contained in:
rolux 2013-05-09 18:38:19 +02:00
parent e6522b8fef
commit 54c8871559

View file

@ -37,8 +37,8 @@
Ox.getJSON(urls, function(data) {
urls.forEach(function(url) {
Ox.extend(translations, data[url]);
callback(true);
});
callback(true);
});
}
} else {