diff options
-rw-r--r-- | settings/js/admin.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js index aa228e76be7..2f0896c9530 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -177,6 +177,10 @@ $(document).ready(function(){ var $el = $('#postsetupchecks'); $el.find('.loading').addClass('hidden'); if (messages.length === 0) { + var securityWarning = $('#security-warning'); + if (securityWarning.children('ul').children().length === 0) { + securityWarning.addClass('hidden'); + } } else { var $errorsEl = $el.find('.errors'); var $warningsEl = $el.find('.warnings'); |