Skip to content

Commit

Permalink
Merge pull request #425 from inoas/patch-2
Browse files Browse the repository at this point in the history
missing  onclick="this.classList.add('hidden');"
  • Loading branch information
markstory authored Aug 27, 2016
2 parents a723028 + 5233123 commit 0ea9a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Template/Element/Flash/default.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ if (!empty($params['class'])) {
$class .= ' ' . $params['class'];
}
?>
<div class="<?= h($class) ?>"><?= h($message) ?></div>
<div class="<?= h($class) ?>" onclick="this.classList.add('hidden');"><?= h($message) ?></div>

0 comments on commit 0ea9a36

Please sign in to comment.