@cryptotaxi247 / netdata-1 / commits / 9d51ca765

scroll offset for alarm URLs

Costa Tsaousis (ktsaou) committed May 14, 2017 at 03:04 UTC 9d51ca765cbededa99d96729ca5064a9ba222cba
2 files changed +2 -2
web/dashboard.js
+1 -1
@@ -6472,7 +6472,7 @@ var NETDATA = window.NETDATA || {};
6472
6473 NETDATA.alarms = {
6474 onclick: null, // the callback to handle the click - it will be called with the alarm log entry
6475 - chart_div_offset: 100, // give that space above the chart when scrolling to it
6475 + chart_div_offset: -50, // give that space above the chart when scrolling to it
6476 chart_div_id_prefix: 'chart_', // the chart DIV IDs have this prefix (they should be NETDATA.name2id(chart.id))
6477 chart_div_animation_duration: 0,// the duration of the animation while scrolling to a chart
6478
web/index.html
+1 -1
@@ -3545,4 +3545,4 @@
3545 </div>
3546 </body>
3547 </html>
3548 -<script type="text/javascript" src="dashboard.js?v20170503-3"></script>
3548 +<script type="text/javascript" src="dashboard.js?v20170514-1"></script>