Cleanup more CSS and JS

and merge/cleanup/redesign composer attachments
This commit is contained in:
djmaze 2021-02-22 15:16:33 +01:00
parent fe45179847
commit e52b9abc61
23 changed files with 156 additions and 293 deletions

View file

@ -405,13 +405,7 @@ class AppUser extends AbstractApp {
prom
.then((value) => !!value)
.then(callback)
.catch(() => {
setTimeout(() => {
if (callback) {
callback(false); // eslint-disable-line callback-return
}
}, 1);
});
.catch(() => callback && setTimeout(() => callback(false), 1));
}
}