]> _ Git - fluidbook-html5.git/commitdiff
fix #1902 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 30 Jan 2018 16:49:14 +0000 (17:49 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 30 Jan 2018 16:49:14 +0000 (17:49 +0100)
js/libs/fluidbook/fluidbook.bookmarks.js

index 4ef246785ca2a9ddba546ee83c2f0d735b0d3685..f9cf8c91aec2f1f973178bafa2369a47355fb788 100644 (file)
@@ -446,7 +446,7 @@ FluidbookBookmarks.prototype = {
         }
         index += '</div>';
         index += '<div class="fonctions">';
-        if (this.fluidbook.datas.friend) {
+        if (this.fluidbook.datas.friend && this.fluidbook.datas.bookmarkSendEnable) {
             index += '<a class="send" href="#">' + this.fluidbook.l10n.__('send') + '</a>';
 
         }