Browse Source

No ticket. Fixing typo.

Marcus McLaughlin 15 years ago
parent
commit
4e2925726c
1 changed files with 1 additions and 1 deletions
  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]);