fix: update syntax error in company.js (#19661)

This commit is contained in:
Ben Knowles 2019-11-22 00:06:02 -06:00 committed by Nabin Hait
parent 046137caa2
commit 49cd19d917

View File

@ -29,7 +29,7 @@ frappe.ui.form.on("Company", {
company_name: function(frm) {
if(frm.doc.__islocal) {
# add missing " " arg in split method
// add missing " " arg in split method
let parts = frm.doc.company_name.split(" ");
let abbr = $.map(parts, function (p) {
return p? p.substr(0, 1) : null;