add alt text for file actions, but leave empty since text is directly next to it

This commit is contained in:
Jan-Christoph Borchardt 2014-11-06 15:33:38 +01:00
parent 45c6ec8582
commit af743efff0
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@
}
var html = '<a href="#" class="action action-' + name.toLowerCase() + '" data-action="' + name + '">';
if (img) {
html += '<img class ="svg" src="' + img + '" />';
html += '<img class ="svg" alt="" src="' + img + '" />';
}
html += '<span> ' + actionText + '</span></a>';