Commit d125198c by Crisu83

Changed BootMenu to always set the href of dropdown-toggles to '#'.

parent 4efdf8b9
...@@ -138,7 +138,6 @@ section { ...@@ -138,7 +138,6 @@ section {
} }
@media (max-width: 980px) { @media (max-width: 980px) {
// Unfix the topbar
body { body {
padding-top: 0px; padding-top: 0px;
} }
......
...@@ -69,6 +69,8 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin ...@@ -69,6 +69,8 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
'items'=>array( 'items'=>array(
array('label'=>'Home', 'url'=>'#', 'active'=>true), array('label'=>'Home', 'url'=>'#', 'active'=>true),
array('label'=>'Link', 'url'=>'#'), array('label'=>'Link', 'url'=>'#'),
array('label'=>'Link', 'url'=>'#'),
array('label'=>'Link', 'url'=>'#'),
array('label'=>'Dropdown', 'url'=>'#', 'items'=>array( array('label'=>'Dropdown', 'url'=>'#', 'items'=>array(
array('label'=>'Action', 'url'=>'#'), array('label'=>'Action', 'url'=>'#'),
array('label'=>'Another action', 'url'=>'#'), array('label'=>'Another action', 'url'=>'#'),
......
...@@ -181,7 +181,6 @@ class BootMenu extends BootWidget ...@@ -181,7 +181,6 @@ class BootMenu extends BootWidget
if (isset($item['items'])) if (isset($item['items']))
{ {
if (!isset($item['url']))
$item['url'] = '#'; $item['url'] = '#';
if (isset($item['linkOptions']['class'])) if (isset($item['linkOptions']['class']))
......
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