Browse Source

Fixes #4701

tags/2.0.0-rc
Alexander Makarov 10 years ago
parent
commit
2a5f1b92b4
  1. 2
      Alert.php

2
Alert.php

@ -140,7 +140,7 @@ class Alert extends Widget
Html::addCssClass($this->options, 'fade'); Html::addCssClass($this->options, 'fade');
Html::addCssClass($this->options, 'in'); Html::addCssClass($this->options, 'in');
if ($this->closeButton !== null) { if ($this->closeButton !== false) {
$this->closeButton = array_merge([ $this->closeButton = array_merge([
'data-dismiss' => 'alert', 'data-dismiss' => 'alert',
'aria-hidden' => 'true', 'aria-hidden' => 'true',

Loading…
Cancel
Save