Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-35979 - Commenting - Adding an empty alt attribute to the javascr…

…ipt generated delete icon for comments
  • Loading branch information...
commit dd9f2b1ccad142b4495dfcbfd37b36a7bc2ea209 1 parent 325e266
@jsnfwlr jsnfwlr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  comment/comment.js
View
2  comment/comment.js
@@ -184,7 +184,7 @@ bodyContent: '<div class="comment-delete-confirm"><a href="#" id="confirmdelete-
val = val.replace('___name___', list[i].fullname);
}
if (list[i]['delete']||newcmt) {
- list[i].content = '<div class="comment-delete"><a href="#" id ="comment-delete-'+this.client_id+'-'+list[i].id+'" title="'+M.str.moodle.deletecomment+'"><img src="'+M.util.image_url('t/delete', 'core')+'" /></a></div>' + list[i].content;
+ list[i].content = '<div class="comment-delete"><a href="#" id ="comment-delete-'+this.client_id+'-'+list[i].id+'" title="'+M.str.moodle.deletecomment+'"><img alt="" src="'+M.util.image_url('t/delete', 'core')+'" /></a></div>' + list[i].content;
}
val = val.replace('___time___', list[i].time);
val = val.replace('___picture___', list[i].avatar);
Please sign in to comment.
Something went wrong with that request. Please try again.