Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 65549d4

Browse files
committed
show diff in red
1 parent f84d3d2 commit 65549d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

audit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $(document).ready(function () {
99
if (data.valid === 'true') {
1010
$('#resultTable > tbody:last').append('<tr><td>' + data.name + '</td><td style="background-color:green;color:white;">=</td><td>' + data.name + '</td><td>' + data.size / 1000 + ' kb</td></tr>');
1111
} else {
12-
$('#resultTable > tbody:last').append('<tr style="background-color:red;color:white;"><td>' + data.name + '</td><td>!=</td><td>' + data.name + '</td></tr>');
12+
$('#resultTable > tbody:last').append('<tr><td>' + data.name + '</td><td style="background-color:red;color:white;">!=</td><td>' + data.name + '</td><td>' + data.size / 1000 + ' kb</td></tr>');
1313
}
1414
break;
1515
case 'commit':

0 commit comments

Comments
 (0)