mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 09:23:08 +03:00
Fix loading item always displayed on the installationn page.
This commit is contained in:
parent
234b5bf5a6
commit
0b3d97ff1f
2 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="loading" class="hidden">
|
||||
<div id="loading" class="invisible">
|
||||
<img src="<?= base_url('assets/img/loading.gif') ?>">
|
||||
</div>
|
||||
|
||||
|
|
|
@ -18,11 +18,11 @@ $(function () {
|
|||
var $alert = $('.alert');
|
||||
|
||||
$(document).ajaxStart(function () {
|
||||
$('#loading').removeClass('hidden');
|
||||
$('#loading').removeClass('invisible');
|
||||
});
|
||||
|
||||
$(document).ajaxStop(function () {
|
||||
$('#loading').addClass('hidden');
|
||||
$('#loading').addClass('invisible');
|
||||
});
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue