Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const wishlistDiv = $("a[href='/wishlist']").eq(0);
- if(Number($('[data-wc="wl_count"]')[0].innerText) === 0) {
- wishlistDiv.hide();
- } else {
- wishlistDiv.show();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement