Skip to content

Commit

Permalink
fix: compatibility with 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dkjensen committed Nov 3, 2022
1 parent dcf8931 commit c92d2b9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/tabs/view.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
(() => {

document.addEventListener( 'DOMContentLoaded', function() {
const cloudCatchTabs = (tabsWrapper) => {
const tabsContainer = tabsWrapper.querySelector('.wp-block-cloudcatch-tabs__container');
const tabLabelsContainer = tabsWrapper.querySelector('.wp-block-cloudcatch-tabs__tabs');
Expand Down Expand Up @@ -152,6 +151,4 @@
tabsWrappers.forEach(tabsWrapper => {
cloudCatchTabs(tabsWrapper);
});

})();

} );

0 comments on commit c92d2b9

Please sign in to comment.