From a3e20a4acd98d261316687a42527cac3d786c539 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 14 Apr 2022 15:10:46 +0200 Subject: [PATCH] wait #5233 @0.5 --- js/libs/fluidbook/fluidbook.links.js | 6 ++---- style/cart/puma.less | 2 -- style/fluidbook.less | 3 ++- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.links.js b/js/libs/fluidbook/fluidbook.links.js index b15e19fb..3d19964e 100644 --- a/js/libs/fluidbook/fluidbook.links.js +++ b/js/libs/fluidbook/fluidbook.links.js @@ -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; } diff --git a/style/cart/puma.less b/style/cart/puma.less index 51c047cf..0dd69cc4 100644 --- a/style/cart/puma.less +++ b/style/cart/puma.less @@ -22,8 +22,6 @@ [data-type="7"] { svg { pointer-events: none; - - } .on { diff --git a/style/fluidbook.less b/style/fluidbook.less index 16517bec..392fefc8 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -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; } } -- 2.39.5