Fix textarea sanitation. Fix extensions promise never resolving on 404

This commit is contained in:
Cohee
2023-07-19 18:40:28 +03:00
parent 4c3aafa3a8
commit c6a6a8352d
2 changed files with 4 additions and 1 deletions

View File

@@ -159,6 +159,8 @@ async function getManifests(names) {
const json = await response.json();
obj[name] = json;
resolve();
} else {
reject();
}
}).catch(err => reject() && console.log('Could not load manifest.json for ' + name, err));
});