Skip to content

Commit

Permalink
remove merge artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mdickson-adbe committed Nov 26, 2024
1 parent eb17fef commit 8ef73d8
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions blocks/gmo-program-details/gmo-program-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ async function addProgramStats(block) {

// build header
let header = block.querySelector('.details-header-wrapper');
// build header
if (!(program === undefined)) {
const programHeader = buildHeader(program, queryVars).outerHTML;
// Update the header with the actual data
Expand Down Expand Up @@ -458,10 +457,6 @@ async function addProgramStats(block) {
// calendar tab
buildCalendar(await deliverables, block, "year", await deliverableMappings);

// enable 'read more' buttons
// calendar tab
buildCalendar(await deliverables, block, "year", await deliverableMappings);

// enable 'read more' buttons
block.querySelectorAll('.read-more').forEach((button) => {
button.addEventListener('click', (event) => {
Expand All @@ -478,20 +473,11 @@ async function addProgramStats(block) {
switchTab(event.target);
});

// decorate any new icons
// enable tab switching
block.querySelector('.tab-wrapper').addEventListener('click', (event) => {
switchTab(event.target);
});

// decorate any new icons
decorateIcons(block);

// remove loading spinner
hideLoadingOverlay(bodyWrapper);

// remove loading spinner
hideLoadingOverlay(bodyWrapper);
}

function enableBackBtn(block, blockConfig) {
Expand Down

0 comments on commit 8ef73d8

Please sign in to comment.