Skip to content

Commit

Permalink
Fix pagedecoration hotspot click event (#230)
Browse files Browse the repository at this point in the history
* Fix pagedecoration hotspot click event

* Minor refactor
  • Loading branch information
jrlarano authored Apr 24, 2024
1 parent c16c32e commit 5b6a93b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/kits/core-ui/paged-publication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,10 @@ const PagedPublication = (
};

const clickHotspot = (hotspot: V2Hotspot) => {
if (hotspot.type === 'pagedecoration') {
return;
}

const shoppingBtn = options.el.querySelector('.sgn__offer-shopping');

if (scriptEls.offerClickBehavior === 'overview_modal') {
Expand Down

0 comments on commit 5b6a93b

Please sign in to comment.