fix getting lrc repeatedly
This commit is contained in:
parent
f91eba1aba
commit
4621a74691
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -81,6 +81,7 @@ class APlayer {
|
|||
this.savelrc.push(this.element.getElementsByClassName('aplayer-lrc-content')[i].innerHTML);
|
||||
}
|
||||
}
|
||||
this.lrcs = [];
|
||||
|
||||
/**
|
||||
* Update progress bar, including loading progress bar and play progress bar
|
||||
|
|
@ -557,7 +558,6 @@ class APlayer {
|
|||
if (this.option.showlrc) {
|
||||
const index = this.multiple ? indexMusic : 0;
|
||||
|
||||
this.lrcs = [];
|
||||
if (!this.lrcs[index]) {
|
||||
let lrcs = '';
|
||||
if (this.option.showlrc === 1) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue