NIHVIVO-772: I am using the class 'thumbnail' to delete the thumbnail instead of class delete.
This commit is contained in:
parent
2e466a82c4
commit
8ad5417253
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue