diff options
-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; |