summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Carver2018-12-19 00:30:40 (GMT)
committerMark Carver2018-12-19 00:30:40 (GMT)
commitd83c7c3df0ce4429917e1acb03aea575dfb0ef4b (patch)
treed1c0e50a5b708e93f15d2a44772168edd5e5b499
parent346c7f5de9cd59581a4021043028a90a9233408e (diff)
Issue #3021341 by markcarver, rschwab: Syntax error, unrecognized expression: #7.x-3.x
-rw-r--r--templates/menu/menu-link.func.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/templates/menu/menu-link.func.php b/templates/menu/menu-link.func.php
index e502a9d..e73a1f6 100644
--- a/templates/menu/menu-link.func.php
+++ b/templates/menu/menu-link.func.php
@@ -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';
}