Skip to content

Commit

Permalink
fix: stability
Browse files Browse the repository at this point in the history
  • Loading branch information
dewanakl committed Sep 20, 2024
1 parent b095dff commit 4e6a93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export const comment = (() => {
document.getElementById('comments').lastElementChild.remove();
}

document.getElementById('comments').insertAdjacentHTML('afterbegin', card.renderContent(response.data));
document.getElementById('comments').innerHTML = card.renderContent(response.data) + document.getElementById('comments').innerHTML;
scroll();
}

Expand Down

0 comments on commit 4e6a93c

Please sign in to comment.