no message

This commit is contained in:
A1300399510
2024-01-26 14:12:45 +08:00
parent 2ff4926405
commit 66eb0364d6
180 changed files with 2837 additions and 13232 deletions

View File

@@ -541,7 +541,6 @@ function useScript(input, _options) {
resolve(options.use());
function watchForScriptLoaded({ script: script2 }) {
if (script2.id === id && script2.status === "loaded") {
script2.loaded = true;
resolve(options.use?.());
head.hooks.removeHook("script:updated", watchForScriptLoaded);
}
@@ -627,7 +626,7 @@ function useScript(input, _options) {
} else {
return script.waitForLoad().then(
(api) => {
return api[fn](...args);
api[fn](...args);
}
);
}