|
|
|
@@ -8,13 +8,6 @@ class IHKETLSlider { |
|
|
|
this.slides = section.children(); |
|
|
|
this.slider = new Slider(section.find('.eventteaserlargeslider')); |
|
|
|
this.stringLength = 0; |
|
|
|
|
|
|
|
this.slider.section.on('in-viewport slide-change', () => { |
|
|
|
const curr = this.slider.currentSlide; |
|
|
|
if (this.slides[curr].hasCounter) { |
|
|
|
this.startCounter(curr); |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|