Issue #3021341 by markcarver, rschwab: Syntax error, unrecognized expression: #

parent 346c7f5d
......@@ -50,10 +50,6 @@ function bootstrap_menu_link(array $variables) {
// Generate as standard dropdown.
$title .= ' <span class="caret"></span>';
$attributes['class'][] = 'dropdown';
// Set dropdown trigger element to # to prevent inadvertant page loading
// when a submenu link is clicked.
$options['attributes']['data-target'] = '#';
$options['attributes']['class'][] = 'dropdown-toggle';
$options['attributes']['data-toggle'] = 'dropdown';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment