diff options
author | Robin Stocker <robin@nibor.org> | 2015-01-21 20:12:08 +1100 |
---|---|---|
committer | Robin Stocker <robin@nibor.org> | 2015-01-21 20:12:08 +1100 |
commit | 6832ca23d666f189e646d2ec60fe95bd2d1aa9f6 (patch) | |
tree | c780e84792c36ceb4e1b0a1c6a8cfc7e7e1d52a9 /js | |
parent | 84d48648f0a203befd666aa0c7dad32fa1a22710 (diff) |
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 476eb28..279fa54 100644 --- a/js/lib/blocks.js +++ b/js/lib/blocks.js @@ -553,7 +553,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; |