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 10d49c2 commit 454019fCopy full SHA for 454019f
src/js/lrc.js
@@ -39,7 +39,7 @@ class Lrc {
39
this.parsed[index] = [['00:00', 'Loading']];
40
const xhr = new XMLHttpRequest();
41
xhr.onreadystatechange = () => {
42
- if (xhr.readyState === 4) {
+ if (index === this.player.playIndex && xhr.readyState === 4) {
43
if (xhr.status >= 200 && xhr.status < 300 || xhr.status === 304) {
44
this.parsed[index] = this.parse(xhr.responseText);
45
}
0 commit comments