mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -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(){
|
||||
if(thegrid != undefined){
|
||||
if(thegrid != undefined && !thegrid.dirty){
|
||||
thegrid.bagit();
|
||||
thegrid.bag_loaded();
|
||||
}
|
||||
else{
|
||||
console.log('wait for grid init');
|
||||
|
|
|
|||
|
|
@ -6562,11 +6562,8 @@ window.thegrid = (function () {
|
|||
}
|
||||
});
|
||||
r.bbox_opts = br[1];
|
||||
};
|
||||
|
||||
r.bag_loaded = function () {
|
||||
r.bbox = true;
|
||||
}
|
||||
};
|
||||
|
||||
r.onhide = function () {
|
||||
afilt.apply();
|
||||
|
|
|
|||
Loading…
Reference in a new issue