mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-03 09:21:41 +01:00
Tabs are now persistent (URL)
This commit is contained in:
parent
506fee8000
commit
150e08186c
@ -67,6 +67,13 @@ function openPage() {
|
|||||||
openPage();
|
openPage();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Persistent Bootstrap tabs
|
||||||
|
$('.nav-tabs a.nav-link').click(function (e) {
|
||||||
|
var params = (window.location.hash).split("&");
|
||||||
|
if (!params) return;
|
||||||
|
window.location.hash = params[0] + '&' + e.target.href.split('#')[1];
|
||||||
|
});
|
||||||
|
|
||||||
var oldWidth = null;
|
var oldWidth = null;
|
||||||
|
|
||||||
function reduceSidebar() {
|
function reduceSidebar() {
|
||||||
|
Loading…
Reference in New Issue
Block a user