FlorianEisenmenger hace 7 horas
padre
commit
42ebfbf8a9
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. +4
    -1
      gfi-ihk-2024/stories/sections/slider/slider.js

+ 4
- 1
gfi-ihk-2024/stories/sections/slider/slider.js Ver fichero

@@ -106,7 +106,10 @@ class IHKSlider {

this.prevButton = $('<button class="prev" aria-label="Zurück" />');
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" />')
.html('/<span class="total">' + this.slides.length + '</span></span>')
.prepend(this.count);


Cargando…
Cancelar
Guardar