]> _ Git - fluidbook-html5.git/commitdiff
fix #1805 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 13 Dec 2017 09:55:29 +0000 (10:55 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 13 Dec 2017 09:55:29 +0000 (10:55 +0100)
js/libs/fluidbook/fluidbook.slider.js

index 464d48b83e4afe32eed373d9fd87fcc9470b8793..04e431435e6ed2ed503873ad0f99e3c7381b8568 100644 (file)
@@ -233,6 +233,7 @@ FluidbookSlider.prototype = {
         if (page > 0 && page <= this.fluidbook.datas.pages) {
             thumb.css('visibility', 'visible');
             this.fluidbook.loader.getThumbImage(page, thumb.find('.img'), shade);
+            thumb.find('a').attr('href', '#/page/' + page);
             thumb.find('.number').text(this.fluidbook.physicalToVirtual(page));
         } else {
             thumb.css('visibility', 'hidden');