diff options
author | Julius Haertl <jus@bitgrid.net> | 2016-08-30 11:51:48 +0200 |
---|---|---|
committer | Julius Haertl <jus@bitgrid.net> | 2016-11-18 10:23:24 +0100 |
commit | 9e28a3ba120356b03063e44445a9401c3aa205f3 (patch) | |
tree | e9d8cbf229fb0fc77a95a8165a82b40e5b5624da /core | |
parent | 237034818dd3425116ef3db04dabbc95a5d10125 (diff) | |
download | nextcloud-server-9e28a3ba120356b03063e44445a9401c3aa205f3.tar.gz nextcloud-server-9e28a3ba120356b03063e44445a9401c3aa205f3.zip |
Theming: Code cleanup and cache buster for mime icons
Signed-off-by: Julius Haertl <jus@bitgrid.net>
Diffstat (limited to 'core')
-rw-r--r-- | core/js/mimetype.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/js/mimetype.js b/core/js/mimetype.js index 3ce4ceccbb0..8920fe09a7e 100644 --- a/core/js/mimetype.js +++ b/core/js/mimetype.js @@ -105,6 +105,10 @@ OC.MimeType = { path += '.svg'; + if(OCA.Theming) { + path += "?v=" + OCA.Theming.cacheBuster; + } + // Cache the result OC.MimeType._mimeTypeIcons[mimeType] = path; return path; |