Skip to content

Commit

Permalink
console added
Browse files Browse the repository at this point in the history
  • Loading branch information
npy11 authored and npy11 committed Oct 7, 2024
1 parent 0a7d94f commit c69bc9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blocks/teaser/teaser.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export function generateTeaserDOM(props, classes) {

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 c69bc9a

Please sign in to comment.