diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-17 13:36:17 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-17 13:36:17 +0200 |
commit | 960d0d1242880222b18ed17487003a499caf5a64 (patch) | |
tree | ccd682f278567d01cb8bbee3a787e042ef0e0aa3 /settings/js | |
parent | ce0604bd0627c62671d46d443639815ade4d4852 (diff) | |
download | nextcloud-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.js | 4 |
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; }, |