aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-21 09:05:15 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-21 09:05:15 -0800
commit56b934526e9fdfdf26adc40f57b7edb885d54e5c (patch)
treecdcfaa54cacf4f15d50ecfffabe630464685a6c6 /js/lib
parentd405cb3dda9626bd310d6d082c30882529559082 (diff)
parent594daed644cc441aa1d56e4419275463789e7a7f (diff)
Merge pull request #291 from robinst/addChild-call-arguments
Fix incorrect call to addChild with 3 arguments
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 de98c59..b3b1a3b 100644
--- a/js/lib/blocks.js
+++ b/js/lib/blocks.js
@@ -537,7 +537,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);
}
}