mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
js: Skip redundant jQuery object reconstruction.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
33c790e2fc
commit
b0dba411d9
@@ -138,8 +138,8 @@ export function launch(conf) {
|
||||
conf.on_click(e);
|
||||
});
|
||||
|
||||
$($send_email_checkbox).on("change", () => {
|
||||
if ($($send_email_checkbox).is(":checked")) {
|
||||
$send_email_checkbox.on("change", () => {
|
||||
if ($send_email_checkbox.is(":checked")) {
|
||||
$email_field.show();
|
||||
} else {
|
||||
$email_field.hide();
|
||||
|
||||
Reference in New Issue
Block a user