summaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorRobin Stocker <robin@nibor.org>2015-01-21 20:04:09 +1100
committerRobin Stocker <robin@nibor.org>2015-01-21 20:04:09 +1100
commit594daed644cc441aa1d56e4419275463789e7a7f (patch)
treeb03271e8d1f7bdb407a7e7693de0fbc1918b69e7 /js/lib
parent84d48648f0a203befd666aa0c7dad32fa1a22710 (diff)
Fix incorrect call to addChild with 3 arguments
Also, the assignment is unnecessary at this point.
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/blocks.js2
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);
}
}