summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 {