From s.arcus at open-t.co.uk Wed Jul 2 09:08:47 2025 From: s.arcus at open-t.co.uk (Sebastian Arcus) Date: Wed, 2 Jul 2025 10:08:47 +0100 Subject: [kronolith] issue on Firefox 134 In-Reply-To: <263665d4-f920-4b44-bda8-f11f394de0b6@univ-paris1.fr> References: <263665d4-f920-4b44-bda8-f11f394de0b6@univ-paris1.fr> Message-ID: On 09/01/2025 11:34, Pascal Rigaux wrote: > Hi, > > Since Firefox 134, our users have issues on Kronolith for > day/week/workweek views. > > The issue comes from: > >     spacing = td.up('table').getStyle('borderSpacing'); >     ... >     spacing = spacing ? parseInt($w(spacing)[1], 10) : 2; > > The code expects something like "1px 1px" but Firefox 134 returns "1px" > > It corresponds to the CSS: "border-spacing: 1px;" > > NB : $w is mostly a string split on spaces. > > > We used the following fix: > >     spacing = spacing ? parseInt($w(spacing).pop(), 10) : 2; Just to say thank you very much for this. In the last week we started to see Kronolith not showing the intra-day events on some computers - but all day events at the top of the page were showing fine - both on Chrome and Edge. I can confirm this fixed the issue. Much appreciated for sharing!