From 87d6008dfc3d06326de183243192c9357b835d4d Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sat, 27 Feb 2021 09:23:34 +0100 Subject: [PATCH] Fix for #1870 (png was missing in supported picture formats for comic viewer) --- cps/static/js/kthoom.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cps/static/js/kthoom.js b/cps/static/js/kthoom.js index 8670a60d..56038fc6 100644 --- a/cps/static/js/kthoom.js +++ b/cps/static/js/kthoom.js @@ -146,6 +146,9 @@ kthoom.ImageFile = function(file) { case "jpeg": this.mimeType = "image/jpeg"; break; + case "png": + this.mimeType = "image/png"; + break; case "gif": this.mimeType = "image/gif"; break;