]> _ Git - fluidbook-html5.git/commitdiff
fix #2375 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 26 Nov 2018 16:35:31 +0000 (17:35 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 26 Nov 2018 16:35:31 +0000 (17:35 +0100)
js/main.js

index c980a98a10e5012fc16fe1a0c112c7ca2a25466e..f8104ac3a2b9379f23cb63dafdc0c3b75c8abcd5 100644 (file)
@@ -258,6 +258,7 @@ try {
             fluidbook.gal = gal;
         }
         fluidbook.loadPlugins();
+        $(document).trigger('fluidbook.init');
 
         desktopScale = 1;
         desktopScaleAmount = 1.5;
@@ -279,7 +280,7 @@ try {
                 return false;
             });
 
-            $(document).on('mousedown',function (e) {
+            $(document).on('mousedown', function (e) {
                 if (e.button == 2) {
                     return false;
                 } else {