From 269e01b5d95710ef8002777c35c9e52777920501 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Thu, 9 Jan 2025 16:09:16 +0000 Subject: [PATCH] Change incorrect function calls to spinner (#1299) --- www/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/js/app.js b/www/js/app.js index fc89b096..9780fb90 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -2504,7 +2504,7 @@ function handleClickOnReplayLink (ev, anchor) { selectedArchive.readBinaryFile(dirEntry, function (fileDirEntry, content) { var mimetype = fileDirEntry.getMimetype(); uiUtil.displayFileDownloadAlert(zimUrl, true, mimetype, content); - uiUtil.clearSpinner(); + uiUtil.spinnerDisplay(false); }); } else { return uiUtil.systemAlert('We could not find a PDF document at ' + zimUrl, 'PDF not found'); @@ -2543,7 +2543,7 @@ function handleClickOnReplayLink (ev, anchor) { appstate.target = 'window'; articleContainer.kiwixType = appstate.target; } - uiUtil.clearSpinner(); + uiUtil.spinnerDisplay(false); } else { // Let Replay handle this link anchor.passthrough = true;