summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-08-17 13:36:17 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-17 13:36:17 +0200
commit960d0d1242880222b18ed17487003a499caf5a64 (patch)
treeccd682f278567d01cb8bbee3a787e042ef0e0aa3 /settings/js
parentce0604bd0627c62671d46d443639815ade4d4852 (diff)
downloadnextcloud-server-960d0d1242880222b18ed17487003a499caf5a64.tar.gz
nextcloud-server-960d0d1242880222b18ed17487003a499caf5a64.zip
Filter can't be named invert in FF
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/apps.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index f8ad9c7918c..9a68ebf90ac 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -237,8 +237,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="invert"><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(#invert)" 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" /></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>';
}
return img;
},