]> _ Git - fluidbook-html5.git/commitdiff
#1790
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 11 Dec 2017 15:14:44 +0000 (16:14 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 11 Dec 2017 15:14:44 +0000 (16:14 +0100)
js/libs/fluidbook/fluidbook.share.js

index 63003a25fc83144d24c58f28964df4f9c8713da6..587a44cbdcccc17761168800a0321f0fbdf88fa3 100644 (file)
@@ -34,7 +34,10 @@ function FluidbookShare(fluidbook) {
         });
 
         if (this.fluidbook.datas.phonegap == 'android') {
-            $(document).on('click', '#shareLinks', function () {
+            $(document).on('click', '#shareLinks, #shareLinks a', function (e) {
+                e.stopPropagation();
+                e.stopImmediatePropagation();
+                e.preventDefault();
                 $this.intentShare();
                 return false;
             });