diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index aa66a57a7b..bb0a27638e 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 = ''; } else { - var html = ''; + var html = ''; } var element = $(html); - if (img) { - element.append($('')); - } element.data('action', actions['Delete']); element.on('click', {a: null, elem: parent, actionFunc: actions['Delete']}, actionHandler); parent.parent().children().last().append(element); diff --git a/core/css/styles.css b/core/css/styles.css index 94520a4e0c..46972331df 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -659,6 +659,10 @@ div.crumb:active { } /* icons */ +.folder-icon, .delete-icon, .edit-icon { + background-repeat: no-repeat; + background-position: center; +} .folder-icon { background-image: url('../img/places/folder.svg'); } .delete-icon { background-image: url('../img/actions/delete.svg'); } .delete-icon:hover, .delete-icon:focus {