From c2ce0ed8c1f47bfb50f77cc5e181a14f9a60f2e8 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 6 Jun 2022 12:19:18 +0530 Subject: [PATCH] fix: set first tab active after routing --- frappe/public/js/frappe/form/tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/form/tab.js b/frappe/public/js/frappe/form/tab.js index fd23595d80..69c573186b 100644 --- a/frappe/public/js/frappe/form/tab.js +++ b/frappe/public/js/frappe/form/tab.js @@ -78,7 +78,7 @@ export default class Tab { set_active() { this.parent.find('.nav-link').tab('show'); - this.wrapper.addClass('show'); + this.wrapper.addClass('active'); this.frm.active_tab = this; }