diff --git a/app/views/people/_profile_sidebar.html.haml b/app/views/people/_profile_sidebar.html.haml index d6f27d594..b021e0210 100644 --- a/app/views/people/_profile_sidebar.html.haml +++ b/app/views/people/_profile_sidebar.html.haml @@ -2,18 +2,6 @@ -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. -- content_for :head do - :javascript - $(document).ready(function(){ - $('.delete').bind('ajax:success', function() { - $(this).closest('li').fadeOut(200); - }); - $('.delete').bind('ajax:failure', function() { - alert("#{t('status_messages.destroy.failure')}"); - }); - }); - - #profile .profile_photo = person_image_link(person, :size => :thumb_large, :to => :photos)