From 99849094285115be7bb942b02423e0d7c15fb6d6 Mon Sep 17 00:00:00 2001 From: mossroy Date: Thu, 22 Aug 2013 18:20:57 +0200 Subject: [PATCH] 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 --- js/app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/app.js b/js/app.js index 7432a5f7..ff578ccf 100644 --- a/js/app.js +++ b/js/app.js @@ -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; });