- Issue created by @shweta__sharma
- 🇮🇳India swatidhurandhar
@shweta__sharma I tried to replicate issue in D9.5 but hamburger toggle works fine there. I have attached video for reference.
Please add detailed steps to reproduce this. - Status changed to Needs review
about 1 year ago 6:00am 6 September 2023 Hi @swatidhurandhar,
I am using Drupal 10, attaching a reference video - https://www.loom.com/share/6e974440748745678d2c48efb27cfa4d toggle not working at my end.- 🇵🇭Philippines clarkssquared
Hi @shweta__sharma,
I also tried to duplicate the issue in D10, but the hamburger menu is working in my end.
Please look at the file I attached for your reference.
Thank you
Console:
Uncaught TypeError: can't access property "closeMessage", Drupal.january is undefined
/themes/january_theme/js/messages.js?v=10.2.4:30
/themes/january_theme/js/messages.js?v=10.2.4:31
messages.js:30:3I am not very good in JS, so my decision)) \january_theme\js\messages.js
Drupal.behaviors.messages = { attach: function attach(context) { once('messages', '[data-drupal-selector="messages"]', context).forEach(closeMessage); } }; //Drupal.january.closeMessage = closeMessage; /*line.30*/ })(Drupal, once);