Skip to content

Commit d23ed52

Browse files
author
Mikaël Capelle
committed
Set correct tag for navbar (nav instead of div).
1 parent 3822922 commit d23ed52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/View/Helper/BootstrapNavbarHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function create($brand, $options = []) {
143143
}
144144

145145
/** Add and return outer div openning. **/
146-
return $this->Html->tag('div', null, $options)
146+
return $this->Html->tag('nav', null, $options)
147147
.$this->Html->tag('div', null, [
148148
'class' => $this->_fluid ? 'container-fluid' : 'container'
149149
]).$rightOpen;

0 commit comments

Comments
 (0)