Skip to content
Snippets Groups Projects
Unverified Commit 48875443 authored by (Fairy)Phy's avatar (Fairy)Phy Committed by GitHub
Browse files

fix(frontend): Safariでプラグインが複数ある場合に正常に読み込まれない問題を修正 (#10290)


* Safariでプラグインが複数ある場合に正常に読み込まれない問題を修正

* Update packages/frontend/src/init.ts

Co-authored-by: default avatarrinsuki <428rinsuki+git@gmail.com>

* Update packages/frontend/src/init.ts

Co-authored-by: default avatarrinsuki <428rinsuki+git@gmail.com>

---------

Co-authored-by: default avatarsyuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: default avatarrinsuki <428rinsuki+git@gmail.com>
parent 4094ab58
No related branches found
No related tags found
No related merge requests found
......@@ -343,7 +343,9 @@ stream.on('_disconnected_', async () => {
});
for (const plugin of ColdDeviceStorage.get('plugins').filter(p => p.active)) {
import('./plugin').then(({ install }) => {
import('./plugin').then(async ({ install }) => {
// Workaround for https://bugs.webkit.org/show_bug.cgi?id=242740
await new Promise(r => setTimeout(r, 0));
install(plugin);
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment