From 755d1d8a61e09ef92b4cb76c0e8c203b7e23d2fd Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 9 May 2013 22:35:40 +0200 Subject: [PATCH] fix Ox.setLocale --- source/Ox/js/Locale.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox/js/Locale.js b/source/Ox/js/Locale.js index 62ab902a..4445de5f 100644 --- a/source/Ox/js/Locale.js +++ b/source/Ox/js/Locale.js @@ -44,7 +44,7 @@ ]); } }); - url && url.forEach(function(value) { + url && Ox.makeArray(url).forEach(function(value) { urls.push(Ox.makeArray(value)); }); Ox.getJSON(urls, function(data) {