diff options
-rw-r--r-- | interface/js/rspamd.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js index ec273f27f..b537773f8 100644 --- a/interface/js/rspamd.js +++ b/interface/js/rspamd.js @@ -648,6 +648,7 @@ } function getErrors() { + if (read_only) return; if (errors) { errors.destroy(); |