Fix indentation problem

This commit is contained in:
root 2020-02-10 11:53:13 -04:00
parent 7c8cc5c0e1
commit 4697e4edda

View File

@ -1085,7 +1085,7 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies','abstractFiles
} else { } else {
// Line below was inserted to prevent the spinner being hidden, possibly by an async function, when pressing the Random button in quick succession // Line below was inserted to prevent the spinner being hidden, possibly by an async function, when pressing the Random button in quick succession
// TODO: Investigate whether it is really an async issue or whether there is a rogue .hide() statement in the chain // TODO: Investigate whether it is really an async issue or whether there is a rogue .hide() statement in the chain
$("#searchingArticles").show(); $("#searchingArticles").show();
selectedArchive.readUtf8File(dirEntry, displayArticleContentInIframe); selectedArchive.readUtf8File(dirEntry, displayArticleContentInIframe);
} }
} }
@ -1517,7 +1517,7 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies','abstractFiles
} else { } else {
if (dirEntry.namespace === 'A') { if (dirEntry.namespace === 'A') {
params.isLandingPage = false; params.isLandingPage = false;
$('#activeContent').hide(); $('#activeContent').hide();
$('#searchingArticles').show(); $('#searchingArticles').show();
readArticle(dirEntry); readArticle(dirEntry);
} else { } else {