From 594daed644cc441aa1d56e4419275463789e7a7f Mon Sep 17 00:00:00 2001 From: Robin Stocker Date: Wed, 21 Jan 2015 20:04:09 +1100 Subject: Fix incorrect call to addChild with 3 arguments Also, the assignment is unnecessary at this point. --- js/lib/blocks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/lib/blocks.js b/js/lib/blocks.js index 476eb28..ddaa7b2 100644 --- a/js/lib/blocks.js +++ b/js/lib/blocks.js @@ -538,7 +538,7 @@ var incorporateLine = function(ln) { break; } else { // create paragraph container for line - container = this.addChild('Paragraph', this.lineNumber, offset); + this.addChild('Paragraph', offset); this.addLine(ln, offset); } } -- cgit v1.2.3