]> _ Git - fluidbook-html5.git/commitdiff
fix #2158 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 24 Jul 2018 15:00:59 +0000 (17:00 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 24 Jul 2018 15:00:59 +0000 (17:00 +0200)
js/libs/fluidbook/fluidbook.menu.js
js/libs/fluidbook/fluidbook.zoom.js

index f3d8f29e39ebdef341a927aad0d99549165d9895..b60204cab14f29b981c3a5022d0b549a4798594a 100644 (file)
@@ -100,6 +100,8 @@ FluidbookMenu.prototype = {
             this.openSlideshow(param1, cb);
         } else if (view == 'iframe') {
             this.openIframe(param1, cb);
+        } else if (view == 'search') {
+
         } else {
             this['open' + camelView](param1, param2, cb);
         }
index 5aeed86c659304209ca48e1b9a49d94b77ce9278..8e8015a9acaca267cb3c6d2bd9935dc6fbac961f 100644 (file)
@@ -77,7 +77,7 @@ FluidbookZoom.prototype = {
         this.updateZoom();
 
         if (origZoom == 1 && this.zoom > 1) {
-            this.fluidbook.stats.track(2, this.currentPage);
+            this.fluidbook.stats.track(2, this.fluidbook.currentPage);
         }
     },