Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yanorei32 committed Sep 3, 2022
1 parent 0b3a67c commit 2d5481b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,8 @@

if (a.created_at && a.updated_at)
if (a.created_at.getTime() != a.updated_at.getTime()) {
document.getElementById('datetime').innerHTML += '<br>';
document.getElementById('datetime').textContent +=
`更新日時: ${dateTimeToString(a.updated_at)}`;
`\n更新日時: ${dateTimeToString(a.updated_at)}`;
}

document.getElementById('title').textContent = a.title;
Expand Down

0 comments on commit 2d5481b

Please sign in to comment.