Let new boxes repeat as well as legacy boxes

This commit is contained in:
nathan 2022-11-25 11:18:44 -07:00
parent 2e61c3a23e
commit 6238302901

View File

@ -94,7 +94,7 @@ export class et2_box extends et2_baseWidget implements et2_IDetachedDOM
// Create the new element, if no expansion needed
var id = et2_readAttrWithDefault(node, "id", "");
if(id.indexOf('$') < 0 || ['box','grid'].indexOf(widgetType) == -1)
if(id.indexOf('$') < 0 || ['box', 'grid', 'et2-box'].indexOf(widgetType) == -1)
{
this.createElementFromNode(node);
childIndex++;