More like this...
';
oEngagementContainer_5cbce344_eb0e_11eb_8bc0_5fbbc00e7c8d.append(sHTML_5cbce344_eb0e_11eb_8bc0_5fbbc00e7c8d);
}
});
}
// Build engagement set
$.each(oResponse.assets, function(index) {
if (index == 1 && sOriginID_5cbce344_eb0e_11eb_8bc0_5fbbc00e7c8d == null) {
sOriginID_5cbce344_eb0e_11eb_8bc0_5fbbc00e7c8d = oResponse.assets[0].id;
}
// Display assets once origin is found
// Find origin then begin displaying assets
if (bFoundOrigin_5cbce344_eb0e_11eb_8bc0_5fbbc00e7c8d == true) {
if (this.id == sOriginID_5cbce344_eb0e_11eb_8bc0_5fbbc00e7c8d) {
// Found orgin a second time. Stop gathering assets and kill next_url