summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-08-17 15:16:48 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-17 15:16:48 +0200
commit314b4005bb2c9d2f82991d2d476f0fc6b899df4b (patch)
treeb41582b9ab81520f306891c6474ce1f0c52201e1 /settings
parent1444c1d3456b1f9b7179d1be2c7496a84bbc8fdd (diff)
downloadnextcloud-server-314b4005bb2c9d2f82991d2d476f0fc6b899df4b.tar.gz
nextcloud-server-314b4005bb2c9d2f82991d2d476f0fc6b899df4b.zip
Remove hack
Diffstat (limited to 'settings')
-rw-r--r--settings/js/apps.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 5a94a783812..2e2bf6830c7 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -234,11 +234,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
imageUrl : function (url, appfromstore) {
var img = '<svg width="72" height="72" viewBox="0 0 72 72">';
- // weird hack because in Firefox everything is 4 times as big (doubled in width and doubled in height)
- // TODO: replace this with a proper solution
- if($.browser.mozilla) {
- img = '<svg width="72" height="72" viewBox="0 0 36 36">';
- }
+
if (appfromstore) {
img += '<image x="0" y="0" width="72" height="72" preserveAspectRatio="xMinYMin meet" xlink:href="' + url + '" class="app-icon" /></svg>';
} else {