summaryrefslogtreecommitdiffstats
path: root/apps/files/js/fileactions.js
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-28 16:03:31 +0100
committerRobin Appelman <icewind@owncloud.com>2012-10-28 16:03:52 +0100
commit0fbb99690b436f3d46710c0efd8775e05a9d78ba (patch)
treefe689b725c02aa7c8414a12f18caff478ddd357e /apps/files/js/fileactions.js
parent6695b29053334ab4443564cfedd3823af9b90455 (diff)
downloadnextcloud-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.js4
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) {