diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-28 16:03:31 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-28 16:03:52 +0100 |
commit | 0fbb99690b436f3d46710c0efd8775e05a9d78ba (patch) | |
tree | fe689b725c02aa7c8414a12f18caff478ddd357e /apps/files/js/fileactions.js | |
parent | 6695b29053334ab4443564cfedd3823af9b90455 (diff) | |
download | nextcloud-server-0fbb99690b436f3d46710c0efd8775e05a9d78ba.tar.gz nextcloud-server-0fbb99690b436f3d46710c0efd8775e05a9d78ba.zip |
properly replace fileaction icons with pngs when needed
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r-- | apps/files/js/fileactions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 24c8e85656c..901c685ecb2 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -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) { |