From cc3daa09f58820f6bda0fae263453088163736fc Mon Sep 17 00:00:00 2001 From: Jay Trees Date: Mon, 17 Jan 2022 13:51:49 +0100 Subject: [PATCH] Disable auto selection of wishlist --- includes/assets/js/default.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/assets/js/default.js b/includes/assets/js/default.js index 76b8a22d..c6ce7221 100644 --- a/includes/assets/js/default.js +++ b/includes/assets/js/default.js @@ -25,11 +25,9 @@ $(function() { $('.ui.dropdown.wishlists').removeClass('loading'); }, onSuccess: function(response, element, xhr) { - $('.ui.dropdown.wishlists') - .dropdown({ + $('.ui.dropdown.wishlists').dropdown({ values: response.results }) - .dropdown('set selected', response.results[0].value); }, onFailure: function(response, element, xhr) { console.log('onFailure');