1function favourite_del(sku,sku_id,master_key,page,prefix) { 2 $.ajax({ 3 type: "GET", 4 url: "shop_order_track.php?tab=favourites&page="+page, 5 data: "favourite_del="+sku, 6 success: function(result) { 7 const product = $("#page_artlist_"+prefix+result); 8 const product_array = {}; 9 product_array["sku"] = sku; 10 product_array["sku_id"] = sku_id; 11 product_array["master_key"] = master_key; 12 $(document).trigger("removeFromFavourites", product_array); 13 if (google_analytics==1) gtag("event", "remove_from_wishlist", {'sku':sku}); 14 if (product.length > 0) { 15 product.fadeOut(300, function () { 16 product.remove(); 17 18 if ($(".favourites_item_del").length === 0) { 19 if (unas_design_ver < 3) { 20 $(".no_favourites").show(); 21 } else { 22 $(".no_favourites").removeClass("d-none"); 23 } 24 } 25 }); 26 } 27 } 28 }); 29}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.