dropping support for .ico because they are not well supported on android

This commit is contained in:
or-else
2017-09-30 22:03:05 -07:00
parent 939e3e59cf
commit 378cd622c4
+2 -4
View File
@@ -65,10 +65,8 @@
var MAX_IMAGE_SIZE = 768;
// Supported image MIME types and corresponding file extensions.
var SUPPORTED_FORMATS = ['image/jpeg', 'image/gif', 'image/png', 'image/x-icon',
'image/vnd.microsoft.icon', 'image/svg', 'image/svg+xml'];
var MIME_EXTENSIONS = ['jpg', 'gif', 'png', 'ico',
'ico', 'svg', 'svg'];
var SUPPORTED_FORMATS = ['image/jpeg', 'image/gif', 'image/png', 'image/svg', 'image/svg+xml'];
var MIME_EXTENSIONS = ['jpg', 'gif', 'png', 'svg', 'svg'];
// Short representation of time in the past.
function shortDateFormat(then) {