We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e745b commit 01c68eaCopy full SHA for 01c68ea
Extensions/loopyLoop.js
@@ -5,12 +5,13 @@
5
6
/// <reference path="../globals.d.ts" />
7
8
-(function LoopyLoop() {
+(async function LoopyLoop() {
9
const bar = document.querySelector(".playback-bar .progress-bar");
10
if (!(bar && Spicetify.React)) {
11
setTimeout(LoopyLoop, 100);
12
return;
13
}
14
+ await new Promise((res) => Spicetify.Events.webpackLoaded.on(res));
15
16
const style = document.createElement("style");
17
style.innerHTML = `
0 commit comments