From 8e0483195c72b51850ea4c807a5aea380e4961aa Mon Sep 17 00:00:00 2001 From: Manuel Luis SanmartĂ­n Rozada Date: Fri, 25 Jul 2014 18:08:20 +0200 Subject: jsrrdgraph: Fix textalign name typo. Thanks to Poil --- js/RrdGraph.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/RrdGraph.js') diff --git a/js/RrdGraph.js b/js/RrdGraph.js index dfbbc07..cba141d 100644 --- a/js/RrdGraph.js +++ b/js/RrdGraph.js @@ -115,7 +115,7 @@ var RrdGraphDesc = function (graph) this.tick.apply(this, args); break; case RrdGraphDesc.GF_TEXTALIGN: - this.textaling.apply(this, args); + this.textalign.apply(this, args); break; case RrdGraphDesc.GF_DEF: this.def.apply(this, args); @@ -2987,7 +2987,7 @@ RrdGraph.prototype.gdes_add_comment = function (text) RrdGraph.prototype.gdes_add_textalign = function (align) { - this.gdes.push(new RrdGraphDesc(this, RrdGraphDesc.GF_TEXTALING, align)); + this.gdes.push(new RrdGraphDesc(this, RrdGraphDesc.GF_TEXTALIGN, align)); }; RrdGraph.prototype.gdes_add_vrule = function (time, color, legend) -- cgit v1.1