Prepend the any-provider option in the booking page

This commit is contained in:
Alex Tselegidis 2022-03-08 17:00:33 +01:00
parent b500b9fe1b
commit 611c0ea07d

View file

@ -233,7 +233,7 @@ window.FrontendBook = window.FrontendBook || {};
// Add the "Any Provider" entry.
if ($('#select-provider option').length >= 1 && GlobalVariables.displayAnyProvider === '1') {
$('#select-provider').append(new Option('- ' + EALang.any_provider + ' -', 'any-provider', true, true));
$('#select-provider').prepend(new Option('- ' + EALang.any_provider + ' -', 'any-provider', true, true));
}
FrontendBookApi.getUnavailableDates($('#select-provider').val(), $(this).val(),