diff options
Diffstat (limited to 'pyload/webui/themes/default/js/static')
-rw-r--r-- | pyload/webui/themes/default/js/static/mootools-core.js | 4 | ||||
-rw-r--r-- | pyload/webui/themes/default/js/static/mootools-more.js | 2 | ||||
-rw-r--r-- | pyload/webui/themes/default/js/static/tinytab.js | 2 |
3 files changed, 4 insertions, 4 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.'); diff --git a/pyload/webui/themes/default/js/static/mootools-more.js b/pyload/webui/themes/default/js/static/mootools-more.js index c7f4a1a0e..160b7234e 100644 --- a/pyload/webui/themes/default/js/static/mootools-more.js +++ b/pyload/webui/themes/default/js/static/mootools-more.js @@ -2491,7 +2491,7 @@ var Sortables = new Class({ return list; }, this)); }, - + getDroppableCoordinates: function (element){ var offsetParent = element.getOffsetParent(); var position = element.getPosition(offsetParent); diff --git a/pyload/webui/themes/default/js/static/tinytab.js b/pyload/webui/themes/default/js/static/tinytab.js index de50279fc..3273451fe 100644 --- a/pyload/webui/themes/default/js/static/tinytab.js +++ b/pyload/webui/themes/default/js/static/tinytab.js @@ -21,7 +21,7 @@ provides: TinyTab this.tabs = tabs; this.contents = contents; if(!opt) opt = {}; - this.css = opt.selectedClass || 'selected'; + this.css = opt.selectedClass || 'selected'; this.select(this.tabs[0]); tabs.each(function(el){ el.addEvent('click',function(e){ |