aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js/apps.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js/apps.js')
-rw-r--r--settings/js/apps.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index c4c36b4bb12..83a3f3c7dcc 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -109,12 +109,12 @@ OC.Settings.Apps = OC.Settings.Apps || {
var container = $('#apps');
if(container.children('li[data-id="'+entry.id+'"]').length === 0){
- var li=$('<li></li>');
+ var li=$('<li></li>').attr({class: 'enabled-app'});
li.attr('data-id', entry.id);
- var a=$('<a></a>');
- a.attr('style', 'background-image: url('+entry.icon+')');
+ var img= $('<img></img>').attr({ src: entry.icon, class:'icon'});
+ li.append(img);
+ var a=$('<a></a>').attr('href', entry.href);
a.text(entry.name);
- a.attr('href', entry.href);
li.append(a);
container.append(li);
}