Move JS source from packs
to entrypoints
(#30037)
This commit is contained in:
parent
32ead51e5a
commit
3f6887557b
13 changed files with 2 additions and 2 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