De-elephanting
This commit is contained in:
parent
40e4bdcc47
commit
7867151bd7
5 changed files with 4 additions and 4 deletions
|
|
@ -7,11 +7,11 @@ ready(() => {
|
|||
if (!image) return;
|
||||
|
||||
image.addEventListener('mouseenter', () => {
|
||||
image.src = '/oops.gif';
|
||||
image.src = '/error-anim.gif';
|
||||
});
|
||||
|
||||
image.addEventListener('mouseleave', () => {
|
||||
image.src = '/oops.png';
|
||||
image.src = '/error-static.png';
|
||||
});
|
||||
}).catch((e: unknown) => {
|
||||
console.error(e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue