2020-10-12 23:19:35 +00:00
|
|
|
import 'packs/public-path';
|
2019-02-17 11:02:47 +00:00
|
|
|
import ready from 'flavours/glitch/util/ready';
|
|
|
|
|
|
|
|
ready(() => {
|
|
|
|
const image = document.querySelector('img');
|
|
|
|
|
|
|
|
image.addEventListener('mouseenter', () => {
|
|
|
|
image.src = '/oops.gif';
|
|
|
|
});
|
|
|
|
|
|
|
|
image.addEventListener('mouseleave', () => {
|
|
|
|
image.src = '/oops.png';
|
|
|
|
});
|
|
|
|
});
|