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;