diff --git a/copyparty/web/baguettebox.js b/copyparty/web/baguettebox.js index 1937d9c1..ebd951a9 100644 --- a/copyparty/web/baguettebox.js +++ b/copyparty/web/baguettebox.js @@ -1378,6 +1378,7 @@ window.baguetteBox = (function () { function init(){ if(thegrid != undefined){ thegrid.bagit(); + thegrid.bag_loaded(); } else{ console.log('wait for grid init'); diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 1459cff4..0c57601e 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -6562,8 +6562,11 @@ window.thegrid = (function () { } }); r.bbox_opts = br[1]; - r.bbox = true; }; + + r.bag_loaded = function () { + r.bbox = true; + } r.onhide = function () { afilt.apply();