diff options
author | Robin Stocker <robin@nibor.org> | 2015-01-21 20:04:09 +1100 |
---|---|---|
committer | Robin Stocker <robin@nibor.org> | 2015-01-21 20:04:09 +1100 |
commit | 594daed644cc441aa1d56e4419275463789e7a7f (patch) | |
tree | b03271e8d1f7bdb407a7e7693de0fbc1918b69e7 | |
parent | 84d48648f0a203befd666aa0c7dad32fa1a22710 (diff) |
Fix incorrect call to addChild with 3 arguments
Also, the assignment is unnecessary at this point.
-rw-r--r-- | js/lib/blocks.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |