Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
jackoconnordev committed Oct 21, 2023
1 parent c75a449 commit 1a5ad17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/sonic-speed/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function moveSonicDown() {
}

function moveSonicUp() {
const currentMarginTop = parseInt(sonicGif.sytle.marginTop);
const currentMarginTop = parseInt(sonicGif.style.marginTop);
sonicGif.style.marginTop = (currentMarginTop - stepSize) + 'px';
}

Expand Down

0 comments on commit 1a5ad17

Please sign in to comment.