Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
webjsavella committed Jan 15, 2025
1 parent 7701639 commit b583abc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions eds/blocks/columns/columns.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ function decorateModal() {
loader.classList.toggle('visible');
}
};
const removeModal = (modal) =>{

Check failure on line 21 in eds/blocks/columns/columns.js

View workflow job for this annotation

GitHub Actions / build

'removeModal' is already declared in the upper scope on line 3 column 10

Check failure on line 21 in eds/blocks/columns/columns.js

View workflow job for this annotation

GitHub Actions / build

Missing space after =>
const videoIframeWrapper = document.querySelector('.video-iframe-wrapper');
if (videoIframeWrapper) {
videoIframeWrapper.remove();
}

['style', 'tabindex', 'aria-hidden'].forEach((attr) => document.body.removeAttribute(attr));
modal.remove();
}

Check failure on line 29 in eds/blocks/columns/columns.js

View workflow job for this annotation

GitHub Actions / build

Missing semicolon

const iframe = document.createElement('iframe');
iframe.classList.add('co3-modal', 'iframe');
Expand Down

0 comments on commit b583abc

Please sign in to comment.