Skip to content

Commit

Permalink
Swapping order of displayed screenshots to reverse chronological
Browse files Browse the repository at this point in the history
  • Loading branch information
fkurmannucsc committed Jun 27, 2024
1 parent 548b0e8 commit 505e404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ function addScreenshot(screenshot) {
</div>
`;

document.querySelector('.screenshot-area').insertAdjacentHTML('beforeend', html);
document.querySelector('.screenshot-area').insertAdjacentHTML('afterbegin', html);
}

// Flip a screenshot by adding it the the canvas flipped horizontally or vertically.
Expand Down

0 comments on commit 505e404

Please sign in to comment.