-<!DOCTYPE html>
+<!DOCTYPE html>
<html lang="en">
<head>
<title>netdata dashboard</title>
</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)
+ {
+ 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';