- Issue created by @chsdaiguil
- 🇫🇷France chsdaiguil Coteaux-du-lyonnais
Firefox browser tool error:
Uncaught ReferenceError: MLMenu is not defined
- 🇫🇷France chsdaiguil Coteaux-du-lyonnais
I installed a blank dxpr theme, the coolapsible main menu does not open on mobile phone.
The error according to Firefox would come from this js file: /themes/contrib/dxpr_theme/js/minified/dxpr-theme-header.bundle.min.js
- 🇫🇷France chsdaiguil Coteaux-du-lyonnais
To solve the problem
cp dxpr-theme-multilevel-mobile-nav.bundle.min.js dxpr-theme-multilevel-mobile-nav.min.js
- 🇨🇦Canada leducdubleuet Chicoutimi QC
While I can confirm copying the file with the new name fixes the bug, it cannot be considered as "fixed" in my opinion since we'll have to manually copy the file on each future releases.
This is a quick fix to make 6.0.1 usable as is for now but this needs to be fixed properly in the source code.
Could a maintainer look into this please?
Thank you very much!
- 🇫🇷France stado
Pardon my ignorance, but what exactly needs to be done under #4?
- 🇨🇦Canada leducdubleuet Chicoutimi QC
You go in the folder :
[web]/themes/contrib/dxpr_theme/js/minified/
You replace [web] with your site root folder.
And you copy the file :
cp dxpr-theme-multilevel-mobile-nav.bundle.min.js dxpr-theme-multilevel-mobile-nav.min.js
Then the mobile menu is working!
Q.E.D.
- 🇨🇦Canada leducdubleuet Chicoutimi QC
Indeed, this is fixed in 6.0.2, thank you very much!