Skip to content
Snippets Groups Projects
Commit 0fbb9969 authored by Robin Appelman's avatar Robin Appelman
Browse files

properly replace fileaction icons with pngs when needed

parent 6695b290
Branches
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ var FileActions = {
}
var html = '<a href="#" class="action">';
if (img) {
html += '<img src="' + img + '"/> ';
html += '<img class ="svg" src="' + img + '"/> ';
}
html += t('files', name) + '</a>';
var element = $(html);
......@@ -111,7 +111,7 @@ var FileActions = {
}
var element = $(html);
if (img) {
element.append($('<img src="' + img + '"/>'));
element.append($('<img class ="svg" src="' + img + '"/>'));
}
element.data('action', 'Delete');
element.click(function (event) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment