Explorar o código

No ticket. Fixing typo.

Marcus McLaughlin %!s(int64=15) %!d(string=hai) anos
pai
achega
4e2925726c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/static/js/Source/CCS/HueChart.js

+ 1 - 1
desktop/core/static/js/Source/CCS/HueChart.js

@@ -83,7 +83,7 @@ HueChart = new Class({
                 this.width = this.options.width;
                 this.height = this.options.height;
                 //Process padding array with named values -- interpreted in same way CSS side-oriented values are.
-                this.options.padding = $splat(this.options.padding[0]);
+                this.options.padding = $splat(this.options.padding);
                 this.options.topPadding = $pick(this.options.topPadding, this.options.padding[0]);
                 this.options.rightPadding = $pick(this.options.rightPadding, this.options.padding[1], this.options.padding[0]);
                 this.options.bottomPadding = $pick(this.options.bottomPadding, this.options.padding[2], this.options.padding[0]);