Skip to content

Commit

Permalink
Merge pull request #526 from WWWPiramalFinanceCOM/feature/bugfixes-dev
Browse files Browse the repository at this point in the history
Feature/bugfixes dev
  • Loading branch information
nky11 authored Oct 7, 2024
2 parents 03a51d7 + 93dce78 commit 3febfa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/teaser/teaser.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ export function generateTeaserDOM(props, classes) {
);
}

console.log("Purge test ")
teaserDOM?.querySelectorAll("a").forEach(function (el, index) {
el.addEventListener("click", function (e) {
console.log("btn clicked")
try {
if(!e.target.closest(".calc-desktop-carousel-wrapper")){
if (index || e.target.closest(".cta")) {
Expand Down

0 comments on commit 3febfa2

Please sign in to comment.