cleanup rotate animation on profile image

This commit is contained in:
Gerome Matilla 2020-06-04 09:14:46 +08:00
parent 868e5b7c02
commit c951d082fd

View File

@ -18,6 +18,7 @@ const rotateProfile = () => {
// Re-add animation class
profileContainer.classList.add('rotateProfileAnim');
// Start rotation animation
profileContainer.style.webkitAnimationPlayState = "running";
profileAnimRunning = true;
}