diff --git a/static/js/user_profile.js b/static/js/user_profile.js index 291abaf..f0101cd 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -596,10 +596,10 @@ function sendRoute(el, routeID = null){ my_routes.classList.add('selected') middleWareJS() - if(data.owner_type === 'customer' && typeof ym === 'function' ){ + if(owner_type_value === 'customer' && typeof ym === 'function' ){ ym(97070898,'reachGoal','customer') return true - } else if(data.owner_type === 'mover' && typeof ym === 'function'){ + } else if(owner_type_value === 'mover' && typeof ym === 'function'){ ym(97070898,'reachGoal','mover') return true }