1. Christoffer Niska
  2. yii-bootstrap

Commits

ixten  committed 69eefde

Fixed issue with navbar;
(Bug: Collapse navbar size was fixed first time used. This cut off the menu.)

  • Participants
  • Parent commits a4dff3c
  • Branches default

Comments (0)

Files changed (1)

File widgets/TbNavbar.php

View file
 			$this->controller->beginWidget('bootstrap.widgets.TbCollapse', array(
 				'id'=>$collapseId,
 				'toggle'=>false, // navbars should be collapsed by default
-				'htmlOptions'=>array('class'=>'nav-collapse'),
+				'htmlOptions'=>array('class'=>'nav-collapse collapse'),
 			));
 		}