summaryrefslogtreecommitdiffstats
path: root/settings/js/admin.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r--settings/js/admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index 2f0896c9530..ea9727078e7 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -179,7 +179,7 @@ $(document).ready(function(){
if (messages.length === 0) {
var securityWarning = $('#security-warning');
if (securityWarning.children('ul').children().length === 0) {
- securityWarning.addClass('hidden');
+ $('#security-warning-state').find('span').removeClass('hidden');
}
} else {
var $errorsEl = $el.find('.errors');