Prevent crash due to slow-loading JS on slower devices

# Conflicts:
#	www/js/app.js


Former-commit-id: c2dd6962202feb9ef1adbe903f54bc586a7c75aa [formerly 3087d7f7fbcf36f37fa02917ae5f98cd60095838]
Former-commit-id: 0cd177f1f1a6a6b40647604168fdb7efb8c41b27
This commit is contained in:
Jaifroid 2019-03-04 13:23:24 +00:00
parent e1510d9a4a
commit 6bab567652

View File

@ -579,7 +579,7 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies', 'q', 'module'
$('.alert').hide();
$('#downloadLinks').hide();
$('#serverResponse').hide();
$("#myModal").modal('hide');
$('#myModal').hide();
refreshAPIStatus();
//Re-enable top-level scrolling
document.getElementById('top').style.position = "relative";