From ebcb3618cf95e7c9a65c3d7dea40b8cd84b32f34 Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Fri, 20 Aug 2021 10:23:49 +0530 Subject: [PATCH] style: Add missing semicolons --- frappe/public/js/frappe/form/layout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/public/js/frappe/form/layout.js b/frappe/public/js/frappe/form/layout.js index f171c4f32e..21d7a451ac 100644 --- a/frappe/public/js/frappe/form/layout.js +++ b/frappe/public/js/frappe/form/layout.js @@ -259,9 +259,9 @@ frappe.ui.form.Layout = class Layout { } is_numeric_field_active() { - const control = $(document.activeElement).closest(".frappe-control") + const control = $(document.activeElement).closest(".frappe-control"); const fieldtype = control.data().fieldtype; - return frappe.model.numeric_fieldtypes.includes(fieldtype) + return frappe.model.numeric_fieldtypes.includes(fieldtype); } refresh_sections() {