aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)