Skip to content

Commit

Permalink
wait for window.stash
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetrax-10 authored Feb 17, 2024
1 parent 7d6655f commit 97e49a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/themeSwitch/themeSwitchMain.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(function () {
(async () => {
while (!window.stash) {
new Promise((resolve) => setTimeout(resolve, 100));
await new Promise((resolve) => setTimeout(resolve, 100));
}

const svgChevDN =
Expand Down

0 comments on commit 97e49a2

Please sign in to comment.