NIHVIVO-772: I am using the class 'thumbnail' to delete the thumbnail instead of class delete.

This commit is contained in:
mb863 2010-07-13 20:19:38 +00:00
parent 2e466a82c4
commit 8ad5417253
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ $(document).ready(function(){
$("#photoUploadContainer").removeClass("hidden");
// Confirmation alert for photo deletion
$('a.delete').click(function(){
$('a.thumbnail').click(function(){
var answer = confirm('Are you sure you want to delete your photo?');
return answer;
});