diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-10-31 17:08:11 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-10-31 17:17:47 +0100 |
commit | a68595742b4a5e13f27bc5cc9d4bbd79044e1790 (patch) | |
tree | c1bc8766390682596b6ec02fbcd9f70542d9db6f /settings/js/apps.js | |
parent | 8acb54aa0b32a8b750f8ab3aba9f63aa931be7d1 (diff) | |
download | nextcloud-server-a68595742b4a5e13f27bc5cc9d4bbd79044e1790.tar.gz nextcloud-server-a68595742b4a5e13f27bc5cc9d4bbd79044e1790.zip |
Proxy images through usercontent.apps.nextcloud.com
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'settings/js/apps.js')
-rw-r--r-- | settings/js/apps.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index ecd7543c8ce..654756af531 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -207,7 +207,7 @@ OC.Settings.Apps = OC.Settings.Apps || { currentImage.onload = function() { page.find('.app-image') - .append(OC.Settings.Apps.imageUrl(app.preview, app.detailpage)) + .append(OC.Settings.Apps.imageUrl(app.preview, app.fromAppStore)) .fadeIn(); }; } @@ -244,7 +244,7 @@ OC.Settings.Apps = OC.Settings.Apps || { var img = '<svg width="72" height="72" viewBox="0 0 72 72">'; if (appfromstore) { - img += '<image x="0" y="0" width="72" height="72" preserveAspectRatio="xMinYMin meet" xlink:href="' + url + '?v=' + oc_config.version + '" class="app-icon" /></svg>'; + img += '<image x="0" y="0" width="72" height="72" preserveAspectRatio="xMinYMin meet" xlink:href="' + url + '" class="app-icon" /></svg>'; } else { img += '<image x="0" y="0" width="72" height="72" preserveAspectRatio="xMinYMin meet" filter="url(#invertIcon)" xlink:href="' + url + '?v=' + oc_config.version + '" class="app-icon"></image></svg>'; } |