]> _ Git - fluidbook-html5.git/commitdiff
wait #5233 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 14 Apr 2022 13:10:46 +0000 (15:10 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 14 Apr 2022 13:10:46 +0000 (15:10 +0200)
js/libs/fluidbook/fluidbook.links.js
style/cart/puma.less
style/fluidbook.less

index b15e19fbfa65597870b0470c504ca79fddb8900f..3d19964e45fb5e25686aca5f372e82bab188c7af 100644 (file)
@@ -207,10 +207,8 @@ FluidbookLinks.prototype = {
 
             if (mode === 'toggle') {
                 $.each(ids, function (k, id) {
-                    var l = $('div.link[data-id="' + id + '"].show');
-                    if (l.length > 0) {
-                        l.removeClass('show');
-                    }
+                    console.log('toggle '+id);
+                    $('div.link[data-id$="' + id + '"]').toggleClass('show');
                 });
                 return false;
             }
index 51c047cf346c0e9557da8e118d16708df0e917b0..0dd69cc485cc14b411fa99a89aaadbece7c3910a 100644 (file)
@@ -22,8 +22,6 @@
 [data-type="7"] {
   svg {
     pointer-events: none;
-
-
   }
 
   .on {
index 16517becda5814f0d3e85439b64faa3bdfb92352..392fefc8f9103ad2166bcbcf283b410147fe7bd4 100644 (file)
@@ -1439,10 +1439,11 @@ html.ios body.portrait #interface {
 .link {
   &[data-hidden="1"] {
     transition: opacity 1s;
-    display: none;
+    visibility: hidden;
     opacity: 0;
 
     &.show {
+      visibility: visible;
       opacity: 1;
     }
   }