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; };