Select the any-provider option by default.

This commit is contained in:
Alex Tselegidis 2021-06-14 10:27:37 +02:00
parent dfdbea6214
commit 55a4665c7d
1 changed files with 1 additions and 1 deletions

View File

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