Fix dropdown selecting item

This commit is contained in:
grandeljay 2022-11-28 12:36:10 +01:00
parent 35f5a76dfa
commit 9691514be6
2 changed files with 10 additions and 2 deletions

View file

@ -27,7 +27,11 @@ $(function () {
var html = response.results ? response.results : '';
$('.wishlist-cards').html(html);
$('.ui.dropdown.wish-options').dropdown().removeClass('disabled');
$('.ui.dropdown.wish-options')
.removeClass('disabled')
.dropdown({
'action' : 'select'
});
}
})
.dropdown('set selected', -1);

View file

@ -70,7 +70,11 @@ $(function () {
/** Enable wishlist options buttons */
$('.button.wishlist-wish-add').removeClass('disabled');
$('.button.wishlist-share').removeClass('disabled');
$('.button.wishlist-options').removeClass('disabled').dropdown();
$('.button.wishlist-options')
.removeClass('disabled')
.dropdown({
'action' : 'select'
});
$('.wishlist-rename').removeClass('disabled');
$('.wishlist-delete').removeClass('disabled');