From 7679d5e82cc5e596ba78075649f211f7da81090f Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Thu, 7 Apr 2022 13:07:04 +0530 Subject: [PATCH] chore: better variable name --- frappe/public/js/frappe/views/communication.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frappe/public/js/frappe/views/communication.js b/frappe/public/js/frappe/views/communication.js index 6cfebd7ec8..90d81c10e5 100755 --- a/frappe/public/js/frappe/views/communication.js +++ b/frappe/public/js/frappe/views/communication.js @@ -97,7 +97,7 @@ frappe.views.CommunicationComposer = class { fieldname: "content", onchange: frappe.utils.debounce( this.save_as_draft.bind(this), - 500 + 300 ) }, { @@ -195,8 +195,8 @@ frappe.views.CommunicationComposer = class { } setup_add_signature_button() { - let is_sender = this.dialog.has_field('sender'); - this.dialog.set_df_property('add_signature', 'hidden', !is_sender); + let has_sender = this.dialog.has_field('sender'); + this.dialog.set_df_property('add_signature', 'hidden', !has_sender); } setup_multiselect_queries() {