BirdNET-stream/www/assets/app.js

20 lines
545 B
JavaScript
Raw Normal View History

2022-08-13 07:46:56 +02:00
/*
* Welcome to your app's main JavaScript file!
*
* We recommend including the built version of this JavaScript file
* (and its CSS file) in your base layout (base.html.twig).
*/
// any CSS you import will output into a single css file (app.css in this case)
import './styles/app.css';
2022-08-15 11:42:28 +02:00
import './styles/menu.css';
2022-08-13 07:46:56 +02:00
// start the Stimulus application
import './bootstrap';
2022-08-16 07:05:49 +02:00
import './utils/spectro';
import './utils/date';
document.getElementsByClassName('prevent').map(
(e) => e.addEventListener('click', (e) => e.preventDefault())
);