Don't rely on jQuery to be ready

This commit is contained in:
James Brooks
2016-06-10 17:13:42 +01:00
parent cdbd2db8e9
commit 1425c15ee8

View File

@@ -107,9 +107,9 @@
@if(Session::get('setup.done'))
@include('dashboard.partials.welcome-modal')
<script>
$(function() {
$('#welcome-modal').modal('show');
});
(function() {
$('#welcome-modal').modal('show');
}());
</script>
@endif
@stop