diff --git a/public/javascripts/aspect-filters.js b/public/javascripts/aspect-filters.js index 1994ee563..9d7574eef 100644 --- a/public/javascripts/aspect-filters.js +++ b/public/javascripts/aspect-filters.js @@ -104,7 +104,7 @@ $(document).ready(function(){ function performAspectUpdate(home){ // update the open aspects in the user - updateURL = "/users/" + $('#user_menu').find('div.avatar').children('img').attr("data-owner_id"); + updateURL = "/users/me"; updateURL += '?'; if(home == 'home'){ updateURL += 'user[a_ids][]=home';