parent
369a475a70
commit
9a47f2cbdf
@ -0,0 +1,13 @@ |
||||
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'; |
||||
}); |
||||
}); |
Loading…
Reference in new issue