| 1 |
- function activateNestedTab(t){let e=$('*[role="tablist"]').find('a[href="#'+t+'"]').first();if(e.length){let t=e.closest("[role=tabpanel]").attr("id");t&&activateNestedTab(t),e.click()}}$(document).ready((()=>{let t=window.location.href;if(t.includes("#")){activateNestedTab(decodeURIComponent(t.split("#")[1]))}$('a[role="tab"]').on("click",(function(){let e=t.split("#")[0]+$(this).attr("href");history.replaceState(null,null,e)}))}));
|