From 61711caa05b109d09debb09b09ff41829b97b6ae Mon Sep 17 00:00:00 2001 From: grandeljay Date: Sat, 3 Sep 2022 14:59:56 +0200 Subject: [PATCH] Initialise dropdown before calling api --- src/assets/js/wishlists.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/assets/js/wishlists.js b/src/assets/js/wishlists.js index d18f8ddd..b608a83f 100644 --- a/src/assets/js/wishlists.js +++ b/src/assets/js/wishlists.js @@ -14,6 +14,8 @@ $(function () { } }); + $('.ui.dropdown.wishlists').dropdown(); + function wishlistsRefresh() { $('.ui.dropdown.wishlists').api({ action : 'get wishlists',