Skip to content

Commit

Permalink
Fix crash on Chrome 128
Browse files Browse the repository at this point in the history
  • Loading branch information
Cohee1207 committed Aug 25, 2024
1 parent 088aeaf commit 0fb528a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/scripts/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ async function activateExtensions() {

if (!isDisabled) {
const promise = Promise.all([addExtensionScript(name, manifest), addExtensionStyle(name, manifest)]);
promise
await promise
.then(() => activeExtensions.add(name))
.catch(err => console.log('Could not activate extension: ' + name, err));
promises.push(promise);
Expand Down

0 comments on commit 0fb528a

Please sign in to comment.