diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2016-08-18 15:45:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-18 15:45:22 +0200 |
commit | 3b6bbf81591c6b35981d78895d656d9499d1ecd3 (patch) | |
tree | 95ee94ffdf596d9502d878b1c6ffabd109b174f1 /settings | |
parent | 71d81eef08c65f25cb552647aeee7884075a0fcd (diff) | |
parent | 5581a602cc3eceeb2efd647a3772be0537e58f66 (diff) | |
download | nextcloud-server-3b6bbf81591c6b35981d78895d656d9499d1ecd3.tar.gz nextcloud-server-3b6bbf81591c6b35981d78895d656d9499d1ecd3.zip |
Merge pull request #934 from nextcloud/add-cachebusters
Add cachebusters
Diffstat (limited to 'settings')
-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 ac259dd7989..985b117feff 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -236,10 +236,10 @@ 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 + '" class="app-icon" /></svg>'; + img += '<image x="0" y="0" width="72" height="72" preserveAspectRatio="xMinYMin meet" xlink:href="' + url + '?v=' + oc_config.version + '" class="app-icon" /></svg>'; } else { img += '<defs><filter id="invertIcon"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"></feColorMatrix></filter></defs>'; - img += '<image x="0" y="0" width="72" height="72" preserveAspectRatio="xMinYMin meet" filter="url(#invertIcon)" xlink:href="' + url + '" class="app-icon"></image></svg>'; + 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>'; } return img; }, |