]> _ Git - fluidbook-html5.git/commitdiff
wait #4083 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 23 Nov 2020 16:39:30 +0000 (17:39 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 23 Nov 2020 16:39:30 +0000 (17:39 +0100)
js/libs/fluidbook/slideshow/fluidbook.slideshow.vacheron.js

index 337f15eda91161c821361a663eb6591b21c4a392..b8a16fd6955fa2800502213acc4050b81f2e42bb 100644 (file)
@@ -38,6 +38,7 @@ FluidbookVacheronSlideshow.prototype = {
         $(nav).append('<a href="#" class="fb-slideshow-nav-next">' + getSpriteIcon('chevron-bold') + '</a>');
         $(s).append(nav);
         if (context === 'inline') {
+            $(s).find('[data-index="0"]').addClass('active');
             $(s).data('currentIndex', 0);
         } else {
             this.gotoIndex(0, s);