Initialise dropdown before calling api

This commit is contained in:
grandeljay 2022-09-03 14:59:56 +02:00
parent 285a9a79be
commit 61711caa05

View file

@ -14,6 +14,8 @@ $(function () {
}
});
$('.ui.dropdown.wishlists').dropdown();
function wishlistsRefresh() {
$('.ui.dropdown.wishlists').api({
action : 'get wishlists',