in setLocale, only call callback once
This commit is contained in:
parent
e6522b8fef
commit
54c8871559
1 changed files with 1 additions and 1 deletions
|
@ -37,8 +37,8 @@
|
|||
Ox.getJSON(urls, function(data) {
|
||||
urls.forEach(function(url) {
|
||||
Ox.extend(translations, data[url]);
|
||||
callback(true);
|
||||
});
|
||||
callback(true);
|
||||
});
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue