From 3125bd5575dfba0f6f5cfd53428036225ba04683 Mon Sep 17 00:00:00 2001 From: Michael Bradshaw Date: Tue, 12 Nov 2013 11:37:54 -0700 Subject: [PATCH] Add support for SVG images --- ghost/admin/assets/lib/uploader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/admin/assets/lib/uploader.js b/ghost/admin/assets/lib/uploader.js index 1d2c2e5472..d62e8da0e9 100644 --- a/ghost/admin/assets/lib/uploader.js +++ b/ghost/admin/assets/lib/uploader.js @@ -99,7 +99,7 @@ if (data.jqXHR.status === 413) { $dropzone.find('div.js-fail').text("The image you uploaded was too big."); } else if (data.jqXHR.status === 415) { - $dropzone.find('div.js-fail').text("The image type you uploaded is not supported. Please use .PNG, .JPG, .GIF."); + $dropzone.find('div.js-fail').text("The image type you uploaded is not supported. Please use .PNG, .JPG, .GIF, .SVG."); } else { $dropzone.find('div.js-fail').text("Something went wrong :("); }