Skip to content
Snippets Groups Projects
Commit ede4d4ac authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2341267 followup by nod_: Bind event handlers for future multiple toolbars

parent 39044397
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -162,7 +162,7 @@
var $menu = $(this).once('toolbar-menu');
if ($menu.length) {
// Bind event handlers.
$($menu)
$menu
.on('click.toolbar', '.toolbar-box', toggleClickHandler)
.on('click.toolbar', '.toolbar-box a', linkClickHandler);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment