diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-07-18 18:40:09 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-07-18 18:40:09 +0200 |
commit | 197c979d264f15d82e991f45c7155b2172aae3c6 (patch) | |
tree | 3be2dd267ccdc2b7c465a1ae3503d6e011bdf9a9 /apps/files/js/fileactions.js | |
parent | cab792323d4c136ed336442d7ae6bb9559955591 (diff) | |
download | nextcloud-server-197c979d264f15d82e991f45c7155b2172aae3c6.tar.gz nextcloud-server-197c979d264f15d82e991f45c7155b2172aae3c6.zip |
use background image instead of img for Files delete icon
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r-- | apps/files/js/fileactions.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index aa66a57a7b5..bb0a27638e4 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -125,12 +125,9 @@ var FileActions = { if (typeof trashBinApp !== 'undefined' && trashBinApp) { var html = '<a href="#" original-title="' + t('files', 'Delete permanently') + '" class="action delete" />'; } else { - var html = '<a href="#" original-title="' + t('files', 'Delete') + '" class="action delete" />'; + var html = '<a href="#" original-title="' + t('files', 'Delete') + '" class="action delete delete-icon" />'; } var element = $(html); - if (img) { - element.append($('<img class ="svg" src="' + img + '"/>')); - } element.data('action', actions['Delete']); element.on('click', {a: null, elem: parent, actionFunc: actions['Delete']}, actionHandler); parent.parent().children().last().append(element); |