summaryrefslogtreecommitdiffstats
path: root/pyload/webui/themes/default/js/static/mootools-core.js
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/webui/themes/default/js/static/mootools-core.js')
-rw-r--r--pyload/webui/themes/default/js/static/mootools-core.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/webui/themes/default/js/static/mootools-core.js b/pyload/webui/themes/default/js/static/mootools-core.js
index db83850fd..e73f1df1e 100644
--- a/pyload/webui/themes/default/js/static/mootools-core.js
+++ b/pyload/webui/themes/default/js/static/mootools-core.js
@@ -5732,8 +5732,8 @@ JSON.secure = true;
JSON.decode = function(string, secure){
if (!string || typeOf(string) != 'string') return null;
-
- if (secure == null) secure = JSON.secure;
+
+ if (secure == null) secure = JSON.secure;
if (secure){
if (JSON.parse) return JSON.parse(string);
if (!JSON.validate(string)) throw new Error('JSON could not decode the input; security is enabled and the value is not secure.');