Skip to content

Commit 9aee906

Browse files
committed
Remove caret attribute.
1 parent fa2a71a commit 9aee906

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/View/Helper/BootstrapNavbarHelper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ public function beginMenu ($name = null, $url = null, $options = [],
310310
] ;
311311
$caret = array_key_exists('caret', $linkOptions) ?
312312
$linkOptions['caret'] : '<span class="caret"></span>';
313+
unset($options['caret']);
313314
$link = $this->Html->link ($name.$caret, $url ? $url : '#', $linkOptions);
314315
$options = $this->addClass ($options, 'dropdown') ;
315316
$listOptions = $this->addClass ($listOptions, 'dropdown-menu') ;

0 commit comments

Comments
 (0)