Fix property check of topLevel in createBlock

This commit is contained in:
Tim Mickel 2016-06-06 15:58:54 -04:00
parent f63e261892
commit fd95d3045d

View file

@ -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);
}
};