Skip to content

Commit

Permalink
Merge pull request #2 from nadja97/master
Browse files Browse the repository at this point in the history
Auto hide
  • Loading branch information
bpocallaghan authored Sep 20, 2018
2 parents 56923af + 414e93b commit 5087edb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/alert.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
@if (session('alert.title'))
setTimeout(function() {
$(".alert.in.show").fadeTo(2000, 0).slideUp(500, function(){
$(".alert").slideUp(500);
$(this).removeClass('in').removeClass('show').addClass('hide');
});
}, 2000);
}, 5000);
@endif
})
</script>
Expand Down

0 comments on commit 5087edb

Please sign in to comment.