From 458efd262d5c5be978e790373e53658e4b95e9f1 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 10 Apr 2020 14:24:59 +0530 Subject: [PATCH] feat: remove unused variable --- frappe/public/js/frappe/widgets/widget_group.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/public/js/frappe/widgets/widget_group.js b/frappe/public/js/frappe/widgets/widget_group.js index bfbdb7393b..4124e4b76e 100644 --- a/frappe/public/js/frappe/widgets/widget_group.js +++ b/frappe/public/js/frappe/widgets/widget_group.js @@ -26,7 +26,7 @@ export default class WidgetGroup { make() { this.make_container(); - this.title && this.set_title(this.title); + this.title && this.set_title(); this.widgets && this.make_widgets(); } @@ -47,7 +47,7 @@ export default class WidgetGroup { widget_area.appendTo(this.container); } - set_title(title) { + set_title() { this.title_area[0].innerText = this.title; }