dropping support for .ico because they are not well supported on android
This commit is contained in:
+2
-4
@@ -65,10 +65,8 @@
|
|||||||
var MAX_IMAGE_SIZE = 768;
|
var MAX_IMAGE_SIZE = 768;
|
||||||
|
|
||||||
// Supported image MIME types and corresponding file extensions.
|
// Supported image MIME types and corresponding file extensions.
|
||||||
var SUPPORTED_FORMATS = ['image/jpeg', 'image/gif', 'image/png', 'image/x-icon',
|
var SUPPORTED_FORMATS = ['image/jpeg', 'image/gif', 'image/png', 'image/svg', 'image/svg+xml'];
|
||||||
'image/vnd.microsoft.icon', 'image/svg', 'image/svg+xml'];
|
var MIME_EXTENSIONS = ['jpg', 'gif', 'png', 'svg', 'svg'];
|
||||||
var MIME_EXTENSIONS = ['jpg', 'gif', 'png', 'ico',
|
|
||||||
'ico', 'svg', 'svg'];
|
|
||||||
|
|
||||||
// Short representation of time in the past.
|
// Short representation of time in the past.
|
||||||
function shortDateFormat(then) {
|
function shortDateFormat(then) {
|
||||||
|
|||||||
Reference in New Issue
Block a user