From da5d4d1ea07109fea639d36de1bc2a24558fc124 Mon Sep 17 00:00:00 2001 From: mossroy Date: Fri, 23 Aug 2013 12:35:38 +0200 Subject: [PATCH] Small fix to hide the "reading article" message (with the spinner) when searching for titles, in the case it would still be there because of an error when reading the previous article --- js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 99584679..03d7f91a 100644 --- a/js/app.js +++ b/js/app.js @@ -25,7 +25,7 @@ // http://requirejs.org/docs/api.html#define define(function(require) { - + var $ = require('jquery'); // Evopedia javascript dependencies @@ -44,6 +44,7 @@ define(function(require) { $('#searchTitles').on('click', function(e) { searchTitlesFromPrefix($('#prefix').val()); $("#welcomeText").hide(); + $("#readingArticle").hide(); }); $('#formTitleSearch').on('submit', function(e) { document.getElementById("searchTitles").click();