]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove hack
authorRoeland Jago Douma <roeland@famdouma.nl>
Wed, 17 Aug 2016 13:16:48 +0000 (15:16 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 17 Aug 2016 14:24:31 +0000 (16:24 +0200)
settings/js/apps.js

index 5a94a7838124845bf456bc188f93def7e1a18aa1..2e2bf6830c7c1f6c03c14d009457a905441bc6a3 100644 (file)
@@ -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 {