mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
Remove $("#user_presence_enabled").val(page_params.presence_enabled);.
This isn't necessary as `settings_checkbox.hbs` template used for presence enabled setting in `account_settings.hbs` takes care of checking/unchecking this checkbox.
This commit is contained in:
parent
55512a4247
commit
bb3953e02c
@ -682,8 +682,6 @@ export function set_up() {
|
||||
);
|
||||
});
|
||||
|
||||
$("#user_presence_enabled").val(user_settings.presence_enabled);
|
||||
|
||||
$("#user_presence_enabled").on("change", (e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user