error.js 295 B

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