Skip to content

Commit

Permalink
fix next button after 2nd slide
Browse files Browse the repository at this point in the history
  • Loading branch information
midzer committed Dec 12, 2024
1 parent 63cbf4a commit d9eee09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,8 @@ export default function Tobii (userOptions) {
*
*/
const pointerupHandler = (event) => {
event.stopPropagation()
// Intercept regular click handler
if (!pointerDownCache.length) return

groups[activeGroup].slider.classList.remove('tobii__slider--is-' + (isZoomed() ? 'moving' : 'dragging'))

Expand Down

0 comments on commit d9eee09

Please sign in to comment.