diff --git a/webapp/web/js/imageUpload/imageUploadUtils.js b/webapp/web/js/imageUpload/imageUploadUtils.js index 90c7029d5..e3f0a03f5 100644 --- a/webapp/web/js/imageUpload/imageUploadUtils.js +++ b/webapp/web/js/imageUpload/imageUploadUtils.js @@ -3,9 +3,8 @@ $(document).ready(function(){ // Confirmation alert for photo deletion in image upload and individual templates - $('#photoUploadDefaultImage a.thumbnail,#share-contact a:eq(2)').click(function(){ - //$('#share-contact a [title="delete this relationship"]').click(function(){ - var answer = confirm('Are you sure you want to delete your photo?'); - return answer; + $('#photoUploadDefaultImage a.thumbnail,#share-contact a[title="delete this relationship"]').click(function(){ + var answer = confirm('Are you sure you want to delete your photo?'); + return answer; }); }); \ No newline at end of file