This commit is contained in:
maikirakiwi 2022-07-09 00:19:29 -07:00
parent 2e12b94744
commit 3621824441

View file

@ -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)}