mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-22 03:52:21 -04:00
Hide the "reading article" div when clicking on any menu, as this text might stay visible if there is an error when reading the article
This commit is contained in:
parent
0f87f821f9
commit
9984909428
@ -65,6 +65,7 @@ define(function(require) {
|
||||
$("#prefix").val("");
|
||||
$('#prefix').focus();
|
||||
$("#titleList").html("");
|
||||
$("#readingArticle").hide();
|
||||
$("#articleContent").html("");
|
||||
return false;
|
||||
});
|
||||
@ -82,6 +83,7 @@ define(function(require) {
|
||||
$('#formTitleSearch').hide();
|
||||
$("#welcomeText").hide();
|
||||
$('#titleList').hide();
|
||||
$("#readingArticle").hide();
|
||||
$('#articleContent').hide();
|
||||
return false;
|
||||
});
|
||||
@ -99,6 +101,7 @@ define(function(require) {
|
||||
$('#formTitleSearch').hide();
|
||||
$("#welcomeText").hide();
|
||||
$('#titleList').hide();
|
||||
$("#readingArticle").hide();
|
||||
$('#articleContent').hide();
|
||||
return false;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user