</script>
<!-- load the dashboard manager - it will do the rest -->
- <script type="text/javascript" src="dashboard.js?v37"></script>
+ <script type="text/javascript" src="dashboard.js?v39"></script>
</head>
<body data-spy="scroll" data-target="#sidebar">
offset: $(window).height() / 3 // controls the diff of the <hX> element to the top, to select it
});
- $('#sidebar').on('activate.bs.scrollspy', function (e)\r
- {\r
- var el = $(e.target);\r
- if (el.find('ul').size() == 0)\r
- {\r
- var href = el.find('a').attr('href');\r
- document.location.hash = href;\r
- };\r
+ $('#sidebar').on('activate.bs.scrollspy', function (e)
+ {
+ var el = $(e.target);
+ if (el.find('ul').size() == 0)
+ {
+ var href = el.find('a').attr('href');
+ history.pushState(null, document.title, href);
+ };
});
document.getElementById('footer').style.display = 'block';