forked from mirrors/akkoma-fe
remove garbage
i dont even know why this is here
This commit is contained in:
parent
2378d4c595
commit
0d2549cedb
1 changed files with 0 additions and 6 deletions
|
@ -32,12 +32,6 @@
|
||||||
console.log("Setting music: " + url);
|
console.log("Setting music: " + url);
|
||||||
audio.src = url;
|
audio.src = url;
|
||||||
playMusic();
|
playMusic();
|
||||||
} else {
|
|
||||||
try {
|
|
||||||
// This line will cause a lot of errors.
|
|
||||||
// Setting src to "" will cause any pending .play()s to fail.
|
|
||||||
audio.src = "";
|
|
||||||
} catch {}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue