bongzilla

Untitled

Jan 13th, 2021
88
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const wishlistDiv = $("a[href='/wishlist']").eq(0);
  2.  
  3. if(Number($('[data-wc="wl_count"]')[0].innerText) === 0) {
  4. wishlistDiv.hide();
  5. } else {
  6. wishlistDiv.show();
  7. }
RAW Paste Data