From 7f9ddc5a07c8a271d7e92b283afd568fd77c1606 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Thu, 22 Aug 2019 19:58:32 +0100 Subject: [PATCH] Fix incorrect mimetype assignment #553 (#557) --- www/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/app.js b/www/js/app.js index 87292bfe..31f39caf 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -1339,7 +1339,7 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies','abstractFiles } else if (download) { selectedArchive.readBinaryFile(dirEntry, function (fileDirEntry, content) { var mimetype = contentType || fileDirEntry.getMimetype(); - uiUtil.displayFileDownloadAlert(title, download, contentType, content); + uiUtil.displayFileDownloadAlert(title, download, mimetype, content); }); } else { params.isLandingPage = false;