error.js 271 B

12345678910111213
  1. import ready from '../mastodon/ready';
  2. ready(() => {
  3. const image = document.querySelector('img');
  4. image.addEventListener('mouseenter', () => {
  5. image.src = '/oops.gif';
  6. });
  7. image.addEventListener('mouseleave', () => {
  8. image.src = '/oops.png';
  9. });
  10. });