* Finish task #28484.

This commit is contained in:
liyuchun
2022-10-24 16:09:12 +08:00
parent 862aadaeb8
commit 06da2b4e8a
+2 -2
View File
@@ -54,13 +54,13 @@ function getDiffs(fileName)
if(code.type == 'all' || code.type == 'new')
{
result.code.new += htmlspecialchars_decode(code.line.substring(2)) + "\n";
result.line.new.push(code.newlc);
result.line.new.push(parseInt(code.newlc));
}
if(code.type == 'all' || code.type == 'old')
{
result.code.old += htmlspecialchars_decode(code.line.substring(2)) + "\n";
result.line.old.push(code.oldlc);
result.line.old.push(parseInt(code.oldlc));
}
})
return result;