From 1494db775d4761fe0bc9e970dcb114f51c519b02 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Sat, 9 May 2026 13:48:16 +0200 Subject: [PATCH] fix grid init after navigating --- copyparty/web/browser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 1459cff4..4b969e69 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -6296,8 +6296,6 @@ window.thegrid = (function () { else { if (!dbl){ - // if(r.bbox && e.preventDefault) - // e.preventDefault(); return true; } @@ -6515,6 +6513,8 @@ window.thegrid = (function () { r.dirty = false; r.loadsel(); + if(baguetteBox) + r.bagit('#ggrid'); aligngriditems(); setTimeout(r.tippen, 20); drag.initgrid();