From cbd9e9e41bc4ca80c1a962a8d164940e8b908bac Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 18 Oct 2021 12:19:13 +0200 Subject: [PATCH] Prepend the "any-provider" option to the booking page so that it is the first option displayed. --- assets/js/frontend_book.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/frontend_book.js b/assets/js/frontend_book.js index 79cbd991..410e46de 100644 --- a/assets/js/frontend_book.js +++ b/assets/js/frontend_book.js @@ -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(),