Skip to content

Commit

Permalink
Change incorrect function calls to spinner (#1299)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaifroid authored Jan 9, 2025
1 parent bd0e36c commit 269e01b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 269e01b

Please sign in to comment.