summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/lib/blocks.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js
index 7f13b9f..cf64652 100644
--- a/js/lib/blocks.js
+++ b/js/lib/blocks.js
@@ -554,10 +554,6 @@ var incorporateLine = function(ln) {
var finalize = function(block, lineNumber) {
var pos;
var above = block._parent;
- // don't do anything if the block is already closed
- if (!block._open) {
- return;
- }
block._open = false;
block.sourcepos[1] = [lineNumber, this.lastLineLength + 1];