parent
71e28ba399
commit
80388a3ffe
@ -0,0 +1,13 @@ |
||||
import ready from '../mastodon/ready'; |
||||
|
||||
ready(() => { |
||||
const image = document.querySelector('img'); |
||||
|
||||
image.addEventListener('mouseenter', () => { |
||||
image.src = '/oops.gif'; |
||||
}); |
||||
|
||||
image.addEventListener('mouseleave', () => { |
||||
image.src = '/oops.png'; |
||||
}); |
||||
}); |
After Width: | Height: | Size: 20 KiB |
Loading…
Reference in new issue