mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
settings: Hide password change controls behind a link
(imported from commit 6d0f3861ef97f45231d388378f429974e876ddbe)
This commit is contained in:
@@ -756,6 +756,12 @@ $(function () {
|
||||
// have it (and instead to scroll to a weird place.)
|
||||
$('#gear-menu a[href="#subscriptions"]').on('shown', subs.setup_page);
|
||||
|
||||
$('#pw_change_link').on('click', function (e) {
|
||||
e.preventDefault();
|
||||
$('#pw_change_link').hide();
|
||||
$('#pw_change_controls').show();
|
||||
});
|
||||
|
||||
$('#new_password').on('change keyup', function () {
|
||||
var pw_quality = password_quality($('#new_password').val());
|
||||
if (pw_quality !== undefined)
|
||||
|
||||
Reference in New Issue
Block a user