diff options
| author | Manuel Luis SanmartĂn Rozada | 2015-04-03 19:38:59 +0200 |
|---|---|---|
| committer | Pim van den Berg | 2015-06-22 11:02:26 +0200 |
| commit | c150833a295bd3b167319c1f76433d5ef89bf984 (patch) | |
| tree | 6a79dd25bc72dded95643dc1d50d5bab84cd022b /js | |
| parent | jsrrdgraph: Add dashes to Json. (diff) | |
| download | apt-panopticon_cgp-c150833a295bd3b167319c1f76433d5ef89bf984.zip apt-panopticon_cgp-c150833a295bd3b167319c1f76433d5ef89bf984.tar.gz apt-panopticon_cgp-c150833a295bd3b167319c1f76433d5ef89bf984.tar.bz2 apt-panopticon_cgp-c150833a295bd3b167319c1f76433d5ef89bf984.tar.xz | |
jsrrdgraph: Fix "SHIFT:" number of chars
Diffstat (limited to 'js')
| -rw-r--r-- | js/RrdCmdLine.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/RrdCmdLine.js b/js/RrdCmdLine.js index 094596f..10adc5e 100644 --- a/js/RrdCmdLine.js +++ b/js/RrdCmdLine.js | |||
| @@ -69,7 +69,7 @@ RrdCmdLine.prototype = { | |||
| 69 | this.parse_tick(this.split(arg)); | 69 | this.parse_tick(this.split(arg)); |
| 70 | } else if (arg.substring(0,10) === 'TEXTALIGN:') { | 70 | } else if (arg.substring(0,10) === 'TEXTALIGN:') { |
| 71 | this.parse_textalign(this.split(arg)); | 71 | this.parse_textalign(this.split(arg)); |
| 72 | } else if (arg.substring(0,7) === 'SHIFT:') { | 72 | } else if (arg.substring(0,6) === 'SHIFT:') { |
| 73 | this.parse_shift(this.split(arg)); | 73 | this.parse_shift(this.split(arg)); |
| 74 | } else if (arg.charAt(0) === '-') { | 74 | } else if (arg.charAt(0) === '-') { |
| 75 | var strip = 1; | 75 | var strip = 1; |
