Compare commits
2 Commits
c1d27dc151
...
869ee77446
Author | SHA1 | Date | |
---|---|---|---|
869ee77446 | |||
5fae03b483 |
@ -107,6 +107,7 @@ declare const Prism: any;
|
||||
|
||||
let avatarType = 0;
|
||||
const headshot = document.getElementById("index-headshot") as HTMLImageElement;
|
||||
if (headshot) {
|
||||
headshot.addEventListener("click", (ev: MouseEvent) => {
|
||||
if (avatarType === 0) {
|
||||
headshot.classList.add("headshot-spin", "headshot-spin-start");
|
||||
@ -134,4 +135,5 @@ declare const Prism: any;
|
||||
}, 400);
|
||||
}
|
||||
});
|
||||
}
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user