From 80c343362ad0d7c45652cc3f7ffd351d3b60d40b Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Fri, 29 Mar 2019 16:50:54 +0000 Subject: [PATCH] Cleanup page after extraction Former-commit-id: 6ad2d6e198d8eb9586fb2c1c841fe68c6d5280b9 [formerly 12c318bf9f441c0bcdfc159ac82ea25fc0260367] Former-commit-id: 636730f7b4324d55e3c6a8e44fb4dcf16ff18b37 --- www/js/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/js/app.js b/www/js/app.js index f4bb7e4d..29fd4539 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -2646,6 +2646,8 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies', 'q', 'module' var filename = title.replace(/[\/\\:*?"<>|]/g, '_'); var blob = new Blob([iframeArticleContent.documentElement.outerHTML], { type: 'text/html' }); uiUtil.displayFileDownloadAlert(filename, false, 'text/html', blob); + // Clean up page + printCleanup(); params.handlingBreakoutLink = false; };