From 611c0ea07dbc1b5b0bd6d26d904d494ff454295d Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Tue, 8 Mar 2022 17:00:33 +0100 Subject: [PATCH] Prepend the any-provider option in the booking page --- 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(),