summaryrefslogtreecommitdiff
path: root/js/lib/blocks.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/blocks.js')
-rw-r--r--js/lib/blocks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/blocks.js b/js/lib/blocks.js
index 476eb28..8bdbac5 100644
--- a/js/lib/blocks.js
+++ b/js/lib/blocks.js
@@ -556,7 +556,7 @@ var finalize = function(block, lineNumber) {
var above = block._parent || this.top;
// don't do anything if the block is already closed
if (!block._open) {
- return 0;
+ return;
}
block._open = false;
block.sourcepos[1] = [lineNumber, this.lastLineLength + 1];