From 6bab56765215b3558b79dd00bc396c92c87e9e9e Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Mon, 4 Mar 2019 13:23:24 +0000 Subject: [PATCH] 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 --- www/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/app.js b/www/js/app.js index cf7e8d06..8e27dc81 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -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";