Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings: Remove unnecessary code.

Sahil Batra69d0c78f1e1d
diff --git a/web/src/settings_account.js b/web/src/settings_account.js
index 63b1293e412..c50caf2be44 100644
--- a/web/src/settings_account.js
+++ b/web/src/settings_account.js
@@ -448,7 +448,6 @@ export function set_up() {
on_click: do_change_password,
validate_input,
});
- $("#pw_change_controls").show();
if (page_params.realm_password_auth_enabled !== false) {
// zxcvbn.js is pretty big, and is only needed on password
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 3a1b52ab8fd..4c04631b475 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -2930,10 +2930,6 @@ select.invite-as {
margin-bottom: 0;
}
-#pw_change_controls {
- display: none;
-}
-
.sub-unsub-message,
.date_row {
padding-bottom: 10px;