mirror of https://github.com/zulip/zulip.git
settings: Fix email input whitespace issue.
This fixes the issue where the email has whitespace potentially in the input due to the HTML formatting.
This commit is contained in:
parent
a26703109e
commit
1b616d761e
|
@ -174,7 +174,7 @@ exports.set_up = function () {
|
|||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
$('#change_email_modal').modal('show');
|
||||
var email = $('#email_value').text();
|
||||
var email = $('#email_value').text().trim();
|
||||
$('.email_change_container').find("input[name='email']").val(email);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue