fixed changelog display
This commit is contained in:
parent
743d1351d6
commit
88a62f93bb
2 changed files with 7 additions and 8 deletions
|
@ -2,14 +2,14 @@
|
|||
<updates>
|
||||
<update>
|
||||
<date>Sep 09, 2018</date>
|
||||
<change>
|
||||
<head>Updated Stage Loader</head>
|
||||
<paragraph>Fixed some repeated/missing segments in the presets and 'Not in Pinna' FMV skips for JP A.</paragraph>
|
||||
</change>
|
||||
<change>
|
||||
<head>Updated 'Level Select'</head>
|
||||
<paragraph>Mashing through cutscenes with B no longer causes the game to reset.</paragraph>
|
||||
</change>
|
||||
<change>
|
||||
<head>Updated Stage Loader</head>
|
||||
<paragraph>Fixed some repeated/missing segments in the presets and 'Not in Pinna' FMV skips for JP A.</paragraph>
|
||||
</change>
|
||||
</update>
|
||||
<update>
|
||||
<date>Sep 05, 2018</date>
|
||||
|
|
|
@ -215,16 +215,15 @@ function updateChangelog() {
|
|||
try {
|
||||
document.getElementById("lastupdate").innerHTML = "Last Updated: " + changelogData[0].getElementsByTagName("date")[0].textContent;
|
||||
|
||||
for (var i = 0; i < changelogData.length && i < 3;i++) {
|
||||
for (var i = 0, changeCount = 0; i < changelogData.length && changeCount < 3;i++) {
|
||||
recentchanges += "<p style=\"margin-top:0\"><i>" + changelogData[i].getElementsByTagName("date")[0].textContent + ": ";
|
||||
|
||||
var changes = changelogData[i].getElementsByTagName("change");
|
||||
for (var k = 0; k < changes.length && (i+k-1) < 3; k++) {
|
||||
for (var k = 0; k < changes.length && changeCount < 3; k++) {
|
||||
recentchanges += changes[k].getElementsByTagName("head")[0].textContent + " ";
|
||||
++changeCount;
|
||||
}
|
||||
|
||||
i += k-1;
|
||||
|
||||
recentchanges += "</i></p>";
|
||||
}
|
||||
} catch (err) {}
|
||||
|
|
Loading…
Reference in a new issue