fixed flash messages with Maximilian

This commit is contained in:
Ralf Teusner
2017-09-06 10:43:21 +02:00
parent 0f65508951
commit 482fdbca27
2 changed files with 4 additions and 4 deletions

View File

@ -25,8 +25,8 @@
var showFlashes = function() {
$('.flash').each(function() {
var container = $(this);
var message = container.children().first();
var button = container.children().last();
var message = container.find('p');
var button = container.find('span.fa-times');
var hide = function() {
container.slideUp(function () {