|
|
@ -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', |
|
|
|