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