]> _ Git - fluidbook-html5.git/commitdiff
wip #4206 @0:15
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 19 Jan 2021 16:40:08 +0000 (17:40 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 19 Jan 2021 16:40:08 +0000 (17:40 +0100)
js/libs/fluidbook/fluidbook.links.js

index e61140b462854a4a0129a43734dfbd2173cbe24c..96258951090ba90e56cc4834b8b9960e3441ebcf 100644 (file)
@@ -196,7 +196,9 @@ FluidbookLinks.prototype = {
             var close = $(this).data('showclose');
             $('div.link[data-id$="' + showid + '"]').each(function () {
                 var l = this;
-                $(l).append('<a href="#" class="linkshowclose ' + close + '"></a>');
+                if(close!=='none') {
+                    $(l).append('<a href="#" class="linkshowclose ' + close + '"></a>');
+                }
                 $(l).show();
                 $(l).trigger('fluidbook.link.show');
                 if (close !== 'none') {