Skip to content

Commit 50ec95a

Browse files
committed
Merge branch 'PB-108' of https://github.com/magento/magento2-page-builder into PB-108
2 parents 882f956 + 0b67b45 commit 50ec95a

File tree

2 files changed

+6
-6
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web

2 files changed

+6
-6
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/content-type/column-group/preview.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/column-group/preview.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ export default class Preview extends PreviewCollection {
141141
events.on("column-group:renderAfter", (args: ContentTypeAfterRenderEventParamsInterface) => {
142142
if (args.contentType.id === this.contentType.id) {
143143
if (!this.hasColumnLine(args.contentType)) {
144-
args.element.addClassName('no-column-line');
144+
args.element.classList.add('no-column-line');
145145
} else {
146-
args.element.removeClassName('no-column-line');
147-
args.element.addClassName('with-column-line');
146+
args.element.classList.remove('no-column-line');
147+
args.element.classList.add('with-column-line');
148148
}
149149
}
150150
});

0 commit comments

Comments
 (0)