diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-05-14 03:04:31 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-05-14 03:04:31 +0300 |
commit | 9d51ca765cbededa99d96729ca5064a9ba222cba (patch) | |
tree | 9c458e0fc840a49dcbe24afc47558483aaf081dd /web | |
parent | 793dcded1f97a5493375bb241c8903587426ce39 (diff) |
scroll offset for alarm URLs
Diffstat (limited to 'web')
-rw-r--r-- | web/dashboard.js | 2 | ||||
-rw-r--r-- | web/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/dashboard.js b/web/dashboard.js index 2bf78690f3..310f530a66 100644 --- a/web/dashboard.js +++ b/web/dashboard.js @@ -6472,7 +6472,7 @@ var NETDATA = window.NETDATA || {}; NETDATA.alarms = { onclick: null, // the callback to handle the click - it will be called with the alarm log entry - chart_div_offset: 100, // give that space above the chart when scrolling to it + chart_div_offset: -50, // give that space above the chart when scrolling to it chart_div_id_prefix: 'chart_', // the chart DIV IDs have this prefix (they should be NETDATA.name2id(chart.id)) chart_div_animation_duration: 0,// the duration of the animation while scrolling to a chart diff --git a/web/index.html b/web/index.html index fe7ac39328..eb929d6fe5 100644 --- a/web/index.html +++ b/web/index.html @@ -3545,4 +3545,4 @@ </div> </body> </html> -<script type="text/javascript" src="dashboard.js?v20170503-3"></script> +<script type="text/javascript" src="dashboard.js?v20170514-1"></script> |