diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-21 09:06:59 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-21 09:06:59 -0800 |
commit | c9bd3cbb3fbab9e9e3b3aa928f317508fafa8012 (patch) | |
tree | 89573ded7d11ab8bd0747845d43513ad1b484f9b /js | |
parent | 56b934526e9fdfdf26adc40f57b7edb885d54e5c (diff) | |
parent | 6832ca23d666f189e646d2ec60fe95bd2d1aa9f6 (diff) |
Merge pull request #292 from robinst/top-property-access
Remove read of "top" property (always undefined)
Diffstat (limited to 'js')
-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 b3b1a3b..8aeb95c 100644 --- a/js/lib/blocks.js +++ b/js/lib/blocks.js @@ -552,7 +552,7 @@ var incorporateLine = function(ln) { // parent of the closed block. var finalize = function(block, lineNumber) { var pos; - var above = block._parent || this.top; + var above = block._parent; // don't do anything if the block is already closed if (!block._open) { return 0; |