Disable turbo functionality for now
This commit is contained in:
parent
39808a8cf3
commit
854fa74daa
4 changed files with 11 additions and 18 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import './styles/brain.css';
|
||||
import './stimulus_bootstrap.js';
|
||||
//import './stimulus_bootstrap.js';
|
||||
|
||||
const init = () => {
|
||||
menu();
|
||||
|
|
@ -119,9 +119,6 @@ const photosUploadInit = () => {
|
|||
};
|
||||
}
|
||||
|
||||
|
||||
document.addEventListener('turbo:frame-load', (event) => {
|
||||
init();
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
},
|
||||
"@symfony/ux-turbo": {
|
||||
"turbo-core": {
|
||||
"enabled": true,
|
||||
"enabled": false,
|
||||
"fetch": "eager"
|
||||
},
|
||||
"mercure-turbo-stream": {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import './styles/landing.css';
|
||||
import './stimulus_bootstrap.js';
|
||||
//import './stimulus_bootstrap.js';
|
||||
|
||||
const mobileMenu = () => {
|
||||
const icon = document.querySelector('.icon-menu');
|
||||
|
|
@ -57,9 +57,6 @@ const scrollTo = () => {
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
document.addEventListener('turbo:frame-load', (event) => {
|
||||
mobileMenu();
|
||||
jobInfoToggle();
|
||||
scrollTo();
|
||||
});
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import './stimulus_bootstrap.js';
|
||||
//import './stimulus_bootstrap.js';
|
||||
import './styles/main.css';
|
||||
|
||||
const mobileMenu = () => {
|
||||
|
|
@ -47,7 +47,6 @@ const album = () => {
|
|||
|
||||
|
||||
}
|
||||
document.addEventListener('turbo:frame-load', (event) => {
|
||||
|
||||
mobileMenu();
|
||||
album();
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue