diff --git a/src/templates/projects/index_dashboard.pug b/src/templates/projects/index_dashboard.pug index 41b3136a..d51d7f4b 100644 --- a/src/templates/projects/index_dashboard.pug +++ b/src/templates/projects/index_dashboard.pug @@ -264,7 +264,7 @@ script. $projects_list.find('span.user-remove-confirm').on('click', function(e){ e.stopPropagation(); e.preventDefault(); - var parent = $(this).closest('projects__list-item'); + var parent = $(this).closest('.projects__list-item'); function removeUser(userId, projectUrl){ $.post(projectUrl, {user_id: userId, action: 'remove'})