Skip to content

Commit

Permalink
Merge pull request #87 from Travelopia/fix/slider-method-undefined
Browse files Browse the repository at this point in the history
Fix: Handle missing getTotalSlides method in slider
  • Loading branch information
junaidbhura authored Nov 19, 2024
2 parents 64920df + 1b90859 commit 6804854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slider/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import { TPSliderCountElement } from './tp-slider-count';
/**
* Register Components.
*/
customElements.define( 'tp-slider-count', TPSliderCountElement );
customElements.define( 'tp-slider', TPSliderElement );
customElements.define( 'tp-slider-count', TPSliderCountElement );
customElements.define( 'tp-slider-track', TPSliderTrackElement );
customElements.define( 'tp-slider-slides', TPSliderSlidesElement );
customElements.define( 'tp-slider-slide', TPSliderSlideElement );
Expand Down

0 comments on commit 6804854

Please sign in to comment.