mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-08 19:57:46 -04:00
Support Firefox
Former-commit-id: 5dfdf8fcfaa4ece4ae0202580d1b337ae0d0e3d0 [formerly f49d287f19091bf117845380c1023f7b9486cf75] Former-commit-id: aaf50829e6a70257bfcd70323a4aed4bdb8ef122
This commit is contained in:
parent
fab823037d
commit
b0ffc12381
@ -2647,7 +2647,7 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies', 'q', 'module'
|
||||
title = title.replace(/(\.html?)*$/i, '.html');
|
||||
var filename = title.replace(/[\/\\:*?"<>|]/g, '_');
|
||||
var blob = new Blob([iframeArticleContent.documentElement.outerHTML], { type: 'text/html' });
|
||||
uiUtil.displayFileDownloadAlert(filename, false, 'text/html', blob);
|
||||
uiUtil.displayFileDownloadAlert(filename, true, 'text/html', blob);
|
||||
// Clean up page
|
||||
printCleanup();
|
||||
params.handlingBreakoutLink = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user