- πΈπͺSweden ordermind
For me the issue stemmed from the fact that ToolbarVisualView.js from the responsive_menu module was loaded before ToolbarVisualView.js from the toolbar module, whereby the ToolbarVisualView object has not been created yet at the time that the responsive_menu script tries to access it. I was able to solve it for myself by adding a hook_library_info_alter hook with a conditional library dependency on toolbar/toolbar if the toolbar module is enabled.
- π¬π§United Kingdom SirClickALot Somerset
Hi @ ordermind β ,
Finally, an answer - brilliant, thank you!
Would you be able share that little snippet of hook code here please then I'll be able to confirm its effectiveness too.
- π¦πΊAustralia jordan.jamous
Upgrade to 4.4.5
The issue has been fixed in #404945
Commit: https://git.drupalcode.org/project/responsive_menu/-/commit/e1b5013e4345...version: VERSION js: js/views/ToolbarVisualView.js: {} + dependencies: + - toolbar/toolbar