]> _ Git - fluidbook-html5.git/commitdiff
#1344
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 21 Apr 2017 13:51:32 +0000 (15:51 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 21 Apr 2017 13:51:32 +0000 (15:51 +0200)
js/libs/fluidbook/fluidbook.zoom.js

index 98d150577dcff0316e6a74b3ee177a49fbf0b3cf..9cf1f288994e4ba894811edfbbbaca0307b4401f 100644 (file)
@@ -9,7 +9,7 @@ function FluidbookZoom(fluidbook) {
 
 FluidbookZoom.prototype = {
     init: function () {
-        var $this=this;
+        var $this = this;
         this.setTransition(true);
 
         $(this.fluidbook).on('fluidbook.zoom.out.end', function () {
@@ -24,7 +24,7 @@ FluidbookZoom.prototype = {
     },
 
     triggerEvent: function (event) {
-        console.log('trigger ' + e);
+        var e = 'fluidbook.zoom.' + event;
         $(this.fluidbook).trigger(e);
     },