summaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib')
-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 8aeb95c..257b991 100644
--- a/js/lib/blocks.js
+++ b/js/lib/blocks.js
@@ -555,7 +555,7 @@ var finalize = function(block, lineNumber) {
var above = block._parent;
// 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];