- Issue created by @navkaur
While upgrading to Drupal 10.4.x, I encountered this error in 5.x :
Uncaught TypeError: Drupal.toolbar is undefined
/modules/contrib/responsive_menu/js/views/ToolbarVisualView.js?v=10.4.3
This is similar error that was resolved in 3404945 🐛 Uncaught TypeError: Drupal.toolbar is undefined Active . Opening this issue as other issue is closed and committed to 4.4.x
I have added a patch for 5.0.x which includes toolbar/toolbar dependency for `responsive_menu.toolbar` in responsive_menu.libraries.yml for 5.x
Needs review
5.0
Code