summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorraghunayyar <me@iraghu.com>2013-01-30 19:12:51 +0530
committerraghunayyar <me@iraghu.com>2013-01-30 19:12:51 +0530
commit0dfbd53a6efdc1cb37c36c6bf64fd4eb8f8206d7 (patch)
tree8b360c7ec6ce0d8cb77affaba08fe6976328facf /settings
parentd620495e9250a2c12aa96fd3a2b8291848df73f1 (diff)
downloadnextcloud-server-0dfbd53a6efdc1cb37c36c6bf64fd4eb8f8206d7.tar.gz
nextcloud-server-0dfbd53a6efdc1cb37c36c6bf64fd4eb8f8206d7.zip
Reduced Styling and Image loads as from src and not backgorund.
Diffstat (limited to 'settings')
-rw-r--r--settings/js/apps.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index d4d25c499ca..ec0de8e4da5 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -113,7 +113,8 @@ OC.Settings.Apps = OC.Settings.Apps || {
var img =$('<img></img>');
li.attr('data-id', entry.id);
li.attr('class', 'enabled-app');
- img.attr('style', 'background-image: url('+entry.icon+');');
+ img.attr('src', entry.icon);
+ img.attr('class', 'icon');
li.append(img);
var a=$('<a></a>');
a.text(entry.name);