yes
This commit is contained in:
parent
2e12b94744
commit
3621824441
1 changed files with 22 additions and 23 deletions
|
@ -3187,7 +3187,8 @@ const app = new Vue({
|
|||
let applied = 0;
|
||||
|
||||
for (let i = 1; applied < app.lyrics.length; i+=2) { // Start on odd elements because even ones are original.
|
||||
if (raw_lines[i].childNodes[0].childNodes[0].textContent.trim() != "") {
|
||||
if (raw_lines[i].childNodes[0].childNodes[0].textContent.trim() == "") {i+=2;}
|
||||
if (app.lyrics[applied].line.trim() == "") {applied+=1;}
|
||||
if (app.lyrics[applied].line.trim() === raw_lines[i].childNodes[0].childNodes[0].textContent.trim()) {
|
||||
// Do Nothing
|
||||
applied +=1;
|
||||
|
@ -3210,8 +3211,6 @@ const app = new Vue({
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
} catch (e) {console.debug("Error while parsing MXM Trans: " + e)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue