2024-05-04 12:59:00 +00:00
|
|
|
import '@/entrypoints/public-path';
|
2022-10-11 09:23:59 +00:00
|
|
|
import ready from 'flavours/glitch/ready';
|
2019-02-17 11:02:47 +00:00
|
|
|
|
|
|
|
ready(() => {
|
|
|
|
const image = document.querySelector('img');
|
|
|
|
|
|
|
|
image.addEventListener('mouseenter', () => {
|
|
|
|
image.src = '/oops.gif';
|
|
|
|
});
|
|
|
|
|
|
|
|
image.addEventListener('mouseleave', () => {
|
|
|
|
image.src = '/oops.png';
|
|
|
|
});
|
|
|
|
});
|