mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 16:32:31 +01:00
chore (maintain): cleanup func
This commit is contained in:
parent
cf2fec7ac0
commit
2e8149e88c
1 changed files with 1 additions and 3 deletions
|
|
@ -383,9 +383,7 @@ export default async function(render) {
|
|||
obj.y + obj.h < bounds.y ||
|
||||
obj.y > bounds.y + bounds.h
|
||||
);
|
||||
if (collision && !checked()) {
|
||||
$checkbox.click();
|
||||
} else if (!collision && checked()) {
|
||||
if (collision && !checked() || !collision && checked()) {
|
||||
$checkbox.click();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue