style: add space after else keyword

This commit is contained in:
Mohammad Hasnain Mohsin Rajan 2021-08-18 13:55:33 +05:30 committed by GitHub
parent 68b9ae808b
commit f3e0a30ec7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = $(`<button class="btn btn-xs btn-default">${this.get_button_label()}</button>`).click(() => {
this.expanded = !this.expanded;