diff options
author | Manuel Luis SanmartĂn Rozada | 2015-04-04 00:54:52 +0200 |
---|---|---|
committer | Pim van den Berg | 2015-06-22 11:04:23 +0200 |
commit | 88d96aa4a4d3321384b6f729a12f25de1de503f5 (patch) | |
tree | ed727c60d9fcac033d7ea5c2610365d2a1bd6a26 | |
parent | jsrrdgraph: Fix TICK (diff) | |
download | apt-panopticon_cgp-88d96aa4a4d3321384b6f729a12f25de1de503f5.zip apt-panopticon_cgp-88d96aa4a4d3321384b6f729a12f25de1de503f5.tar.gz apt-panopticon_cgp-88d96aa4a4d3321384b6f729a12f25de1de503f5.tar.bz2 apt-panopticon_cgp-88d96aa4a4d3321384b6f729a12f25de1de503f5.tar.xz |
jsrrdgraph: Fix typo
Diffstat (limited to '')
-rw-r--r-- | js/RrdCmdLine.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/RrdCmdLine.js b/js/RrdCmdLine.js index 077acfa..66468bf 100644 --- a/js/RrdCmdLine.js +++ b/js/RrdCmdLine.js | |||
@@ -607,9 +607,8 @@ RrdCmdLine.prototype = { | |||
607 | color = this.graph.parse_color(args[1].substr(index+1)); | 607 | color = this.graph.parse_color(args[1].substr(index+1)); |
608 | color = this.graph.color2rgba(color); | 608 | color = this.graph.color2rgba(color); |
609 | } | 609 | } |
610 | |||
611 | var fraction = undefined; | 610 | var fraction = undefined; |
612 | if (args.length >= 3 && args[2].legth > 0) | 611 | if (args.length >= 3 && args[2].length > 0) |
613 | fraction = parseFloat(args[2]); | 612 | fraction = parseFloat(args[2]); |
614 | var legend = undefined; | 613 | var legend = undefined; |
615 | if (args.length == 4) | 614 | if (args.length == 4) |