aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/js
diff options
context:
space:
mode:
authorManuel Luis SanmartĂ­n Rozada2015-04-04 00:54:52 +0200
committerPim van den Berg2015-06-22 11:04:23 +0200
commit88d96aa4a4d3321384b6f729a12f25de1de503f5 (patch)
treeed727c60d9fcac033d7ea5c2610365d2a1bd6a26 /js
parentjsrrdgraph: Fix TICK (diff)
downloadapt-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 'js')
-rw-r--r--js/RrdCmdLine.js3
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)