diff --git a/nodes/config/ui_base.html b/nodes/config/ui_base.html index 1269d0ce..f268813c 100644 --- a/nodes/config/ui_base.html +++ b/nodes/config/ui_base.html @@ -1200,14 +1200,15 @@ } return false // return false to click event to prevent default }) - // add the "+ group" button - const groupEditButton = $(``).appendTo(btnGroup) - groupEditButton.on('click', function (evt) { - list.editableList('addItem') - evt.preventDefault() - }) } + // add the "+ group" button + const groupEditButton = $(``).appendTo(btnGroup) + groupEditButton.on('click', function (evt) { + list.editableList('addItem') + evt.preventDefault() + }) + // if this is a group & it is not an unattached group, add the "_ spacer" button if (item.type === 'ui-group' && !!item.page) { // add the "+ spacer" button