From fd95d3045d19778c1613b47d21bdffec2cd97c1e Mon Sep 17 00:00:00 2001 From: Tim Mickel Date: Mon, 6 Jun 2016 15:58:54 -0400 Subject: [PATCH] Fix property check of `topLevel` in `createBlock` --- src/engine/blocks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/blocks.js b/src/engine/blocks.js index f7f6ddf9c..ad4c8d1c7 100644 --- a/src/engine/blocks.js +++ b/src/engine/blocks.js @@ -88,10 +88,10 @@ this._blocks[block.id] = block; // Push block id to stacks array. - // Blocks are added as a top-level stack if they are marked as a topBlock + // Blocks are added as a top-level stack if they are marked as a top-block // (if they were top-level XML in the event) and if they are not // flyout blocks. - if (!opt_isFlyoutBlock && block.topBlock) { + if (!opt_isFlyoutBlock && block.topLevel) { this._addStack(block.id); } };