mirror of
https://github.com/9001/copyparty.git
synced 2026-06-20 13:12:26 -06:00
wait for grid to not be dirty until initializing bbox
This commit is contained in:
parent
643d41f7cf
commit
657be39132
|
|
@ -1376,9 +1376,8 @@ window.baguetteBox = (function () {
|
||||||
|
|
||||||
|
|
||||||
function init(){
|
function init(){
|
||||||
if(thegrid != undefined){
|
if(thegrid != undefined && !thegrid.dirty){
|
||||||
thegrid.bagit();
|
thegrid.bagit();
|
||||||
thegrid.bag_loaded();
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
console.log('wait for grid init');
|
console.log('wait for grid init');
|
||||||
|
|
|
||||||
|
|
@ -6562,11 +6562,8 @@ window.thegrid = (function () {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
r.bbox_opts = br[1];
|
r.bbox_opts = br[1];
|
||||||
};
|
|
||||||
|
|
||||||
r.bag_loaded = function () {
|
|
||||||
r.bbox = true;
|
r.bbox = true;
|
||||||
}
|
};
|
||||||
|
|
||||||
r.onhide = function () {
|
r.onhide = function () {
|
||||||
afilt.apply();
|
afilt.apply();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue