Skip to content

Commit

Permalink
button text is no longer marked as heading
Browse files Browse the repository at this point in the history
  • Loading branch information
ens13533 committed Apr 24, 2024
1 parent 4030e82 commit 6704776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coral-component-dialog/src/scripts/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ const Dialog = Decorator(class extends BaseOverlay(BaseComponent(HTMLElement)) {
this.variant = this.variant;

if (header.getAttribute('class', 'cq-dialog-actions')) {
var headerChild = document.getElementsByClassName('cq-dialog-actions')[0];
const headerChild = document.getElementsByClassName('cq-dialog-actions')[0];
if (headerChild) {
this._elements.headerWrapper.append(headerChild);
}
Expand Down

0 comments on commit 6704776

Please sign in to comment.