]> _ Git - fluidbook-html5.git/commitdiff
wip #1927 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 17 Apr 2018 14:03:33 +0000 (16:03 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 17 Apr 2018 14:03:33 +0000 (16:03 +0200)
js/libs/fluidbook/fluidbook.links.js

index a2f728297b68230f967f453a23a47c3f5ced576b..be52923e794ee0744809275f6440d48c0b6a4bb0 100644 (file)
@@ -78,7 +78,7 @@ FluidbookLinks.prototype = {
 
 
         $(document).on('click touchend', '[data-action]', function () {
-            var map = {'pdf': 'print', 'fullScreen': "fullscreen", 'locales': 'localesContainers'};
+            var map = {'pdf': 'print', 'fullScreen': "fullscreen", 'locales': 'localesContainers', 'basket': 'cart'};
             var action = $(this).data('action');
             if (action == 'share') {
                 // Let share class handle this