aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2020-07-26 20:28:36 +0300
committermoisseev <moiseev@mezonplus.ru>2020-07-26 20:28:36 +0300
commit25c7f0536578ed62a0ff58493494ddf8bc74f969 (patch)
tree4579b8c9daf3a07054387c1c39b969a0b21059d0 /interface/js
parentb8fc350a841c43ff616d2b824e33af3cfb4e6c7f (diff)
downloadrspamd-25c7f0536578ed62a0ff58493494ddf8bc74f969.tar.gz
rspamd-25c7f0536578ed62a0ff58493494ddf8bc74f969.zip
[WebUI] Add `Enable JS` warning
Diffstat (limited to 'interface/js')
-rw-r--r--interface/js/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/js/main.js b/interface/js/main.js
index 7c6bb6851..87d4f384c 100644
--- a/interface/js/main.js
+++ b/interface/js/main.js
@@ -46,6 +46,7 @@ define("d3.global", ["d3"], function (d3global) { // eslint-disable-line strict
// Notify user on module loading failure
requirejs.onError = function (e) {
"use strict";
+ document.getElementById("loading").classList.add("d-none");
document.getElementsByClassName("notification-area")[0].innerHTML =
"<div class=\"alert alert-error\">" +
"<strong>Module loading error: " + e.requireType + ", module: " + e.requireModules + "</strong>" +