From b0ffc123811e79db1130d5e77ce483606e5286dc Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Fri, 29 Mar 2019 17:43:00 +0000 Subject: [PATCH] Support Firefox Former-commit-id: 5dfdf8fcfaa4ece4ae0202580d1b337ae0d0e3d0 [formerly f49d287f19091bf117845380c1023f7b9486cf75] Former-commit-id: aaf50829e6a70257bfcd70323a4aed4bdb8ef122 --- 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 675d5892..0431467f 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -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;