mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-24 04:54:51 -04:00
parent
fd56618802
commit
7f9ddc5a07
@ -1339,7 +1339,7 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies','abstractFiles
|
|||||||
} else if (download) {
|
} else if (download) {
|
||||||
selectedArchive.readBinaryFile(dirEntry, function (fileDirEntry, content) {
|
selectedArchive.readBinaryFile(dirEntry, function (fileDirEntry, content) {
|
||||||
var mimetype = contentType || fileDirEntry.getMimetype();
|
var mimetype = contentType || fileDirEntry.getMimetype();
|
||||||
uiUtil.displayFileDownloadAlert(title, download, contentType, content);
|
uiUtil.displayFileDownloadAlert(title, download, mimetype, content);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
params.isLandingPage = false;
|
params.isLandingPage = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user