mirror of https://github.com/zulip/zulip.git
Change #name_change_container to class.
This changes the selector #name_change_container to a class because there should never be more than one of an ID.
This commit is contained in:
parent
52c18e9c9d
commit
a9e49338de
|
@ -550,7 +550,7 @@ function _setup_page() {
|
|||
avatar.build_user_avatar_widget(upload_avatar);
|
||||
|
||||
if (page_params.name_changes_disabled) {
|
||||
$("#name_change_container").hide();
|
||||
$(".name_change_container").hide();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<td colspan="{{#if is_bot}}4{{else}}3{{/if}}">
|
||||
<form class="form-horizontal name-setting">
|
||||
<input type="hidden" name="is_full_name" value="true" />
|
||||
<div class="input-group" id="name_change_container">
|
||||
<div class="input-group name_change_container">
|
||||
<label for="full_name">{{t "Full name" }}</label>
|
||||
<input type="text" name="full_name" id="full_name" value="{{ full_name }}" />
|
||||
</div>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div class="account-settings-form">
|
||||
<form action="/json/settings/change" method="post"
|
||||
class="form-horizontal your-account-settings">
|
||||
<div class="input-group" id="name_change_container">
|
||||
<div class="input-group name_change_container">
|
||||
<label for="full_name">{{t "Full name" }}</label>
|
||||
<input type="text" name="full_name" id="full_name" value="{{ page_params.fullname }}" />
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue