forked from mirrors/easyappointments
Fix: replace invisible class by d-none.
This commit is contained in:
parent
655cafbfc5
commit
101316a72f
2 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="loading" class="invisible">
|
<div id="loading" class="d-none">
|
||||||
<img src="<?= base_url('assets/img/loading.gif') ?>">
|
<img src="<?= base_url('assets/img/loading.gif') ?>">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,11 @@ $(function () {
|
||||||
var $alert = $('.alert');
|
var $alert = $('.alert');
|
||||||
|
|
||||||
$(document).ajaxStart(function () {
|
$(document).ajaxStart(function () {
|
||||||
$('#loading').removeClass('invisible');
|
$('#loading').removeClass('d-none');
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).ajaxStop(function () {
|
$(document).ajaxStop(function () {
|
||||||
$('#loading').addClass('invisible');
|
$('#loading').addClass('d-none');
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue