Convert easy entrypoints files to Typescript (#30102)
This commit is contained in:
parent
4f4b77920e
commit
36909065b5
8 changed files with 32 additions and 13 deletions
|
@ -1,14 +0,0 @@
|
|||
import './public-path';
|
||||
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';
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue