Fix switching wishlists
This commit is contained in:
parent
5f975b510c
commit
43e5ccba3d
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ $(function () {
|
||||||
setTimeout(function dropdown_wishlists_api() {
|
setTimeout(function dropdown_wishlists_api() {
|
||||||
var api_is_complete = $('.ui.dropdown.filter.priority').api('was complete');
|
var api_is_complete = $('.ui.dropdown.filter.priority').api('was complete');
|
||||||
|
|
||||||
if ('' === $('.wishlist-cards').html() && api_is_complete) {
|
if ($('.ui.column.wishlist > .column').length > 0 && api_is_complete) {
|
||||||
$('.ui.dropdown.filter.priority').api('query');
|
$('.ui.dropdown.filter.priority').api('query');
|
||||||
|
|
||||||
setTimeout(dropdown_wishlists_api, 1);
|
setTimeout(dropdown_wishlists_api, 1);
|
||||||
|
|
Loading…
Reference in a new issue