diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-08-17 15:59:30 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-08-17 15:59:30 +0200 |
commit | bded787d0c4a4c09d6134dec1f4f05751e1d1ec1 (patch) | |
tree | 703008b9dfa0bba954c5952ff5b754917b48cf67 /settings | |
parent | ba4633b165af3bc2a4c732d628fbcf5a3263b986 (diff) | |
download | nextcloud-server-bded787d0c4a4c09d6134dec1f4f05751e1d1ec1.tar.gz nextcloud-server-bded787d0c4a4c09d6134dec1f4f05751e1d1ec1.zip |
Empty tags are not allowed for image and feColorMatrix in IE11 and below
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 2e2bf6830c7..89b446ed3b9 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -238,8 +238,8 @@ OC.Settings.Apps = OC.Settings.Apps || { if (appfromstore) { img += '<image x="0" y="0" width="72" height="72" preserveAspectRatio="xMinYMin meet" xlink:href="' + url + '" 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" /></filter></defs>'; - img += '<image x="0" y="0" width="72" height="72" preserveAspectRatio="xMinYMin meet" filter="url(#invertIcon)" xlink:href="' + url + '" class="app-icon" /></svg>'; + 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>'; } return img; }, |