mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-08 03:39:42 +01:00
parent
8e1f79f537
commit
f46418d1f9
@ -52,7 +52,7 @@ for (let tab of tabs) {
|
||||
window.addEventListener('hashchange', openPage);
|
||||
|
||||
//Sidebar navigation tabs
|
||||
$('#accordionSidebar .nav-item a').click(event => {
|
||||
$('#accordionSidebar .nav-button, #accordionSidebar .nav-button a').click(event => {
|
||||
if (history.replaceState) {
|
||||
event.preventDefault();
|
||||
history.replaceState(undefined, undefined, '#' + event.currentTarget.href.split('#')[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user