mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-03 03:17:54 +01:00
Fix crash on Chrome 128
This commit is contained in:
parent
eb015e4a9a
commit
0f5179ed2d
@ -307,7 +307,7 @@ async function activateExtensions() {
|
|||||||
|
|
||||||
if (!isDisabled) {
|
if (!isDisabled) {
|
||||||
const promise = Promise.all([addExtensionScript(name, manifest), addExtensionStyle(name, manifest)]);
|
const promise = Promise.all([addExtensionScript(name, manifest), addExtensionStyle(name, manifest)]);
|
||||||
promise
|
await promise
|
||||||
.then(() => activeExtensions.add(name))
|
.then(() => activeExtensions.add(name))
|
||||||
.catch(err => console.log('Could not activate extension: ' + name, err));
|
.catch(err => console.log('Could not activate extension: ' + name, err));
|
||||||
promises.push(promise);
|
promises.push(promise);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user