Commits

Christoffer Niska  committed e71973f

changed BootCarousel to enable transitions when called (fixes #56)

  • Participants
  • Parent commits 9b6897d
  • Branches 1.0.0-wip

Comments (0)

Files changed (1)

File widgets/BootCarousel.php

 		else
 			$this->htmlOptions['class'] = $cssClass;
 
-		Yii::app()->bootstrap->registerCarousel();
+		$bootstrap = Yii::app()->bootstrap;
+		$bootstrap->registerCarousel();
+		$bootstrap->enableTransitions(); // Carousel requires transitions to work.
 	}
 
 	/**