diff --git a/vorschau/index.html b/vorschau/index.html index 7d3dde9..033739b 100644 --- a/vorschau/index.html +++ b/vorschau/index.html @@ -127,7 +127,7 @@
diff --git a/vorschau/js/app.js b/vorschau/js/app.js index 27b78ab..67e8c64 100644 --- a/vorschau/js/app.js +++ b/vorschau/js/app.js @@ -134,7 +134,7 @@ var dots = document.querySelectorAll('.carousel-dot'); var activeIndex = 0; - function positionCards(idx) { + window.positionCards = function positionCards(idx) { activeIndex = idx; cards.forEach(function (card, i) { card.classList.remove('active', 'left', 'right', 'hidden');