mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-22 20:13:35 -04:00
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
This commit is contained in:
parent
ebf70bd05c
commit
da5d4d1ea0
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user