diff --git a/files/assets/js/core.js b/files/assets/js/core.js index 2afe225993..ce255089f8 100644 --- a/files/assets/js/core.js +++ b/files/assets/js/core.js @@ -586,7 +586,7 @@ function handleUploadProgress(e, upload_prog) { if (screen_width <= 768) { - addEventListener('hidden.bs.modal', function () { + addEventListener('hide.bs.modal', function () { if(location.hash == "#modal") { history.back(); }