Skip to content

Commit

Permalink
Updating code ordering.
Browse files Browse the repository at this point in the history
  • Loading branch information
fkurmannucsc committed Jul 3, 2024
1 parent 0afadc0 commit 1c384cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ function addScreenshot(screenshot) {
</div>
`;

removeKeydownSideEffects();

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

removeKeydownSideEffects();
}

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

0 comments on commit 1c384cf

Please sign in to comment.