]> _ Git - fluidbook-html5.git/commitdiff
wait #2704 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 10 May 2019 09:13:59 +0000 (11:13 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 10 May 2019 09:13:59 +0000 (11:13 +0200)
js/libs/fluidbook/mobilefirst/fluidbook.mobilefirst.slider.js
style/mobilefirst.less

index 4d4c68c06d53dd489f7708836a1da34c7b9d2025..d7c8bc7e60e191885a2bd974258fdc61ca044bc5 100644 (file)
@@ -59,9 +59,11 @@ FluidbookMobileFirstSlider.prototype = {
     },
 
     updateScroll: function () {
+        if (this.element.hasClass('hiddenresp') || this.element.hasClass('hiddenzoom')) {
+            return;
+        }
         var h = this.element.find('.pagethumb').outerHeight();
         var fluidbook = $("#fluidbook").get(0).getBoundingClientRect();
-        console.log(fluidbook);
 
         var visiblePixels = this.fluidbook.resize.hh;
         if (fluidbook.top > 0) {
index b7bb511fd1dba0575c15422ecc7864abbe8294f6..433bc37804fce4dd2f9e17aa2b1978e7e29bb54d 100644 (file)
   left: 0;
   transition: opacity 250ms;
   opacity: 1;
+  pointer-events: none;
 
   &.hidden, &.hiddenresp, &.hiddenzoom {
     opacity: 0;