From 35143540b0f887ec64cf2be3328ea65c6c8ee114 Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Tue, 8 Nov 2022 15:04:17 -0500 Subject: [PATCH] TabHeader: remove redundant history.replaceState --- templates/CRM/common/TabHeader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/common/TabHeader.js b/templates/CRM/common/TabHeader.js index a8eec06081..a5f25b4b6e 100644 --- a/templates/CRM/common/TabHeader.js +++ b/templates/CRM/common/TabHeader.js @@ -20,7 +20,7 @@ var tabId = ui.newTab.attr('id'); if (tabId && tabId.length) { tabId = tabId.slice(4); // Remove leading 'tab_' - history.replaceState(null, '', updateUrlParameter('selectedChild', tabId)); + updateUrlParameter('selectedChild', tabId); } }) .on('tabsbeforeload', function(e, ui) { -- 2.25.1