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:
mossroy 2013-08-22 18:20:57 +02:00
parent 0f87f821f9
commit 9984909428

View File

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