summaryrefslogtreecommitdiff
path: root/luci2/htdocs/luci2/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'luci2/htdocs/luci2/ui.js')
-rw-r--r--luci2/htdocs/luci2/ui.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/luci2/htdocs/luci2/ui.js b/luci2/htdocs/luci2/ui.js
index 1fb9a49..81c52dc 100644
--- a/luci2/htdocs/luci2/ui.js
+++ b/luci2/htdocs/luci2/ui.js
@@ -390,9 +390,9 @@
}
if (invalid)
- state.form.find('.alert-message').show();
+ state.form.find('.alert').show();
else
- state.form.find('.alert-message').hide();
+ state.form.find('.alert').hide();
L.ui.dialog(L.tr('Authorization Required'), state.form, {
style: 'confirm',