|
|
@@ -106,7 +106,10 @@ class IHKSlider { |
|
|
|
|
|
|
|
|
this.prevButton = $('<button class="prev" aria-label="Zurück" />'); |
|
|
this.prevButton = $('<button class="prev" aria-label="Zurück" />'); |
|
|
this.nextButton = $('<button class="next" aria-label="Weiter" />'); |
|
|
this.nextButton = $('<button class="next" aria-label="Weiter" />'); |
|
|
const tabsWrapper = $('<ul class="slider-tabs variant-base" />'); |
|
|
|
|
|
|
|
|
const tabsWrapper = $('<ul class="slider-tabs" />'); |
|
|
|
|
|
if (!this.section.closest('.steps').length) { |
|
|
|
|
|
tabsWrapper.addClass('variant-base'); |
|
|
|
|
|
} |
|
|
const countWrapper = $('<span class="count" />') |
|
|
const countWrapper = $('<span class="count" />') |
|
|
.html('/<span class="total">' + this.slides.length + '</span></span>') |
|
|
.html('/<span class="total">' + this.slides.length + '</span></span>') |
|
|
.prepend(this.count); |
|
|
.prepend(this.count); |
|
|
|