diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-18 15:49:59 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-21 10:07:07 -0800 |
commit | fcc419a04e5db89586edb0fb29707144225e129b (patch) | |
tree | 190388db81a27134c31a82ac65a2dd1be7b68a44 /js/lib | |
parent | ff2c7c8f52c2f536ae67dd72a6ee83e00aec5635 (diff) |
Removed unnecessary check.
Diffstat (limited to 'js/lib')
-rw-r--r-- | js/lib/blocks.js | 4 |
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]; |