Skip to content

Commit

Permalink
Updated attributes in ModalFooter.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sreidthomas committed Aug 26, 2024
1 parent 8cf9dad commit 8cbbad8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/atoms/ModalFooter/ModalFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ export default class ModalFooter extends HTMLElement {

const btnExtraClasses = this.getAttribute('data-button-extra-classes');

const extraClasses = this.getAttribute('data-extra-classes');
const extraClasses = this.getAttribute('extra-classes');

const modalFooterClasses = ['modal-footer'];
this.closeBtn.setAttribute('data-img-alt', '');
this.closeBtn.setAttribute('data-icon', '');
this.closeBtn.setAttribute('data-label', 'Close');
this.closeBtn.setAttribute('img-alt', '');
this.closeBtn.setAttribute('icon', '');
this.closeBtn.setAttribute('label', 'Close');
this.closeBtn.setAttribute('data-bs-dismiss', 'modal');

// TODO: Fix old ESLint errors - see issue #1099
Expand Down

0 comments on commit 8cbbad8

Please sign in to comment.