summaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-18 15:49:59 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-21 10:07:07 -0800
commitfcc419a04e5db89586edb0fb29707144225e129b (patch)
tree190388db81a27134c31a82ac65a2dd1be7b68a44 /js/lib
parentff2c7c8f52c2f536ae67dd72a6ee83e00aec5635 (diff)
Removed unnecessary check.
Diffstat (limited to 'js/lib')
-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];