mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-11 13:18:21 -04:00
Get rid of some buggy alert.hide()
Former-commit-id: 43c41b997ee563349278a339dd6bdfa273d69c19 [formerly 8bea9011720f74dd8412b8bcc8dcfbd3c7769e6d] Former-commit-id: cd3784683797bac72c8eb38b550b4d0848519b62
This commit is contained in:
parent
7378e01a37
commit
6f68dcad8c
@ -2724,7 +2724,7 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'utf8', 'images', 'cooki
|
||||
$('#articleContent').contents().remove();
|
||||
|
||||
// Remove from DOM any download alert box that was activated in uiUtil.displayFileDownloadAlert function
|
||||
$('#downloadAlert').alert('close');
|
||||
$('.alert').hide();
|
||||
|
||||
var iframeArticleContent = document.getElementById('articleContent');
|
||||
|
||||
@ -3213,7 +3213,7 @@ define(['jquery', 'zimArchiveLoader', 'uiUtil', 'util', 'utf8', 'images', 'cooki
|
||||
});
|
||||
} else {
|
||||
params.isLandingPage = false;
|
||||
$('#activeContent').alert('close');
|
||||
$('.alert').hide();
|
||||
readArticle(dirEntry);
|
||||
}
|
||||
}).fail(function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user