Cleanup page after extraction

Former-commit-id: 6ad2d6e198d8eb9586fb2c1c841fe68c6d5280b9 [formerly 12c318bf9f441c0bcdfc159ac82ea25fc0260367]
Former-commit-id: 636730f7b4324d55e3c6a8e44fb4dcf16ff18b37
This commit is contained in:
Jaifroid 2019-03-29 16:50:54 +00:00
parent 1d42926dbd
commit 80c343362a

View File

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