From c150833a295bd3b167319c1f76433d5ef89bf984 Mon Sep 17 00:00:00 2001 From: Manuel Luis SanmartĂ­n Rozada Date: Fri, 3 Apr 2015 19:38:59 +0200 Subject: jsrrdgraph: Fix "SHIFT:" number of chars --- js/RrdCmdLine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = { this.parse_tick(this.split(arg)); } else if (arg.substring(0,10) === 'TEXTALIGN:') { this.parse_textalign(this.split(arg)); - } else if (arg.substring(0,7) === 'SHIFT:') { + } else if (arg.substring(0,6) === 'SHIFT:') { this.parse_shift(this.split(arg)); } else if (arg.charAt(0) === '-') { var strip = 1; -- cgit v1.1