diff --git a/frappe/public/js/frappe/form/controls/code.js b/frappe/public/js/frappe/form/controls/code.js index 29749a8a27..b5653a68a7 100644 --- a/frappe/public/js/frappe/form/controls/code.js +++ b/frappe/public/js/frappe/form/controls/code.js @@ -20,7 +20,7 @@ frappe.ui.form.ControlCode = class ControlCode extends frappe.ui.form.ControlTex if (this.df.maxLines) this.editor.setOption("maxLines", this.df.maxLines); - else{ + else { this.expanded = false; this.$expand_button = $(``).click(() => { this.expanded = !this.expanded;