diff --git a/settings/js/apps.js b/settings/js/apps.js index 7ec7309db1..b0cc1a11a2 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -247,8 +247,7 @@ OC.Settings.Apps = OC.Settings.Apps || { var page = $('#app-' + app.id); - // image loading kung-fu (IE doesn't properly scale SVGs, so disable app icons) - if (app.preview && !OC.Util.isIE()) { + if (app.preview) { var currentImage = new Image(); currentImage.src = app.preview; @@ -300,8 +299,10 @@ OC.Settings.Apps = OC.Settings.Apps || { img = ''; img += ''; } else { + var rnd = Math.floor((Math.random() * 100 )) + new Date().getSeconds() + new Date().getMilliseconds(); img = ''; - img += ''; + img += '' + img += ''; } return img; }, diff --git a/settings/templates/apps.php b/settings/templates/apps.php index 0d313be6ed..d7b232b915 100644 --- a/settings/templates/apps.php +++ b/settings/templates/apps.php @@ -203,9 +203,6 @@ script(
- - -