refactor: remove repeated code (#268)

This commit is contained in:
yui 2019-09-25 19:12:49 +08:00 committed by DIYgod
parent 8ff2095ff6
commit d01140859d
1 changed files with 0 additions and 1 deletions

View File

@ -46,7 +46,6 @@ class APlayer {
}
// save lrc
this.container = this.options.container;
if (this.options.lrcType === 2 || this.options.lrcType === true) {
const lrcEle = this.container.getElementsByClassName('aplayer-lrc-content');
for (let i = 0; i < lrcEle.length; i++) {