Make communication from customer fail

TypeError: t is not a function, 

I have this code in my customer.js to make communication from
customer

cur_frm.add_custom_button(__('Communications'), frm.make_communications, __("Make"));
&&
make_communications: function(frm){
		frappe.model.open_mapped_doc({
			method: "erpnext.selling.doctype.customer.customer.make_communications",
			frm: cur_frm
		});
	},

Search for a t followed by a bracket like " t(" it could be a simple typing mistake

Thanks for the reply @root13F but that didn’t yield any tangible results

Here is the code that solved the problem

frm.add_custom_button((“Communications”), function()
{
frappe.model.open_mapped_doc({
method: “erpnext.selling.doctype.customer.customer.make_communications”,
frm: cur_frm,
})
},
(“Make”))