Skip to content

Commit

Permalink
Comments cleanup.
Browse files Browse the repository at this point in the history
Cleaned up a few comments ... hope its not my OCD again... :-)
  • Loading branch information
kartik-v committed Nov 21, 2013
1 parent b979d3b commit 817cbc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/advanced/frontend/widgets/Alert.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ public function init()
$appendCss = isset($this->options['class']) ? ' ' . $this->options['class'] : '';

foreach ($flashes as $type => $message) {
/* initialize css class for each alert box in loop */
/* initialize css class for each alert box */
$this->options['class'] = 'alert-' . $this->alertTypes[$type] . $appendCss;

/* assign unique id to each alert box in the loop */
/* assign unique id to each alert box */
$this->options['id'] = $this->getId() . '-' . $type;

echo \yii\bootstrap\Alert::widget([
Expand Down

0 comments on commit 817cbc1

Please sign in to comment.