mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
The display-selected-service and display-selected-provider elements will be invisible by default.
This commit is contained in:
parent
442c644c01
commit
ab4e404fac
2 changed files with 10 additions and 4 deletions
|
@ -15,10 +15,10 @@
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<div class="d-flex justify-content-center justify-content-md-start">
|
<div class="d-flex justify-content-center justify-content-md-start">
|
||||||
<span class="display-selected-service me-2">
|
<span class="display-selected-service me-2 invisible">
|
||||||
[<?= lang('service') ?>]
|
[<?= lang('service') ?>]
|
||||||
</span>
|
</span>
|
||||||
<span class="display-selected-provider">
|
<span class="display-selected-provider invisible">
|
||||||
[<?= lang('provider') ?>]
|
[<?= lang('provider') ?>]
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -600,9 +600,15 @@ App.Pages.Booking = (function () {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).find('.display-selected-service').text($selectService.find('option:selected').text());
|
$(document)
|
||||||
|
.find('.display-selected-service')
|
||||||
|
.text($selectService.find('option:selected').text())
|
||||||
|
.removeClass('invisible');
|
||||||
|
|
||||||
$(document).find('.display-selected-provider').text($selectProvider.find('option:selected').text());
|
$(document)
|
||||||
|
.find('.display-selected-provider')
|
||||||
|
.text($selectProvider.find('option:selected').text())
|
||||||
|
.removeClass('invisible');
|
||||||
|
|
||||||
$('#appointment-details').empty();
|
$('#appointment-details').empty();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue