diff --git a/core/modules/widgets/slot.js b/core/modules/widgets/slot.js index 8ca6992d7..aa9994a03 100644 --- a/core/modules/widgets/slot.js +++ b/core/modules/widgets/slot.js @@ -50,7 +50,7 @@ SlotWidget.prototype.execute = function() { while(pointer) { if(pointer instanceof TranscludeWidget) { depth--; - if(depth === 0) { + if(depth <= 0) { break; } }