explicit bbox loaded marker function

This commit is contained in:
Til Schmitter 2026-05-09 13:34:12 +02:00
parent 1ef4e3f40e
commit 643d41f7cf
2 changed files with 5 additions and 1 deletions

View file

@ -1378,6 +1378,7 @@ window.baguetteBox = (function () {
function init(){ function init(){
if(thegrid != undefined){ if(thegrid != undefined){
thegrid.bagit(); thegrid.bagit();
thegrid.bag_loaded();
} }
else{ else{
console.log('wait for grid init'); console.log('wait for grid init');

View file

@ -6562,8 +6562,11 @@ window.thegrid = (function () {
} }
}); });
r.bbox_opts = br[1]; r.bbox_opts = br[1];
r.bbox = true;
}; };
r.bag_loaded = function () {
r.bbox = true;
}
r.onhide = function () { r.onhide = function () {
afilt.apply(); afilt.apply();