v1.18.x
Barış Soner Uşaklı 8 years ago
parent aabfe8f41f
commit 29c0b8337e

@ -461,7 +461,9 @@ define('settings', function () {
for (var key in values) { for (var key in values) {
if (values.hasOwnProperty(key)) { if (values.hasOwnProperty(key)) {
try { try {
values[key] = JSON.parse(values[key]); if (!utils.isNumber(values[key])) {
values[key] = JSON.parse(values[key]);
}
} catch (e) { } catch (e) {
// Leave the value as is // Leave the value as is
} }

Loading…
Cancel
Save