mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
remember scroll position (https://github.com/grafana/grafana/issues/7680) (#7728)
This commit is contained in:
parent
125ee865b6
commit
3735a1ace7
@ -65,7 +65,9 @@ function (angular, _, $) {
|
||||
var el = $(e.currentTarget);
|
||||
var index = getSeriesIndexForElement(el);
|
||||
var seriesInfo = seriesList[index];
|
||||
var scrollPosition = $($container.children('tbody')).scrollTop();
|
||||
ctrl.toggleSeries(seriesInfo, e);
|
||||
$($container.children('tbody')).scrollTop(scrollPosition);
|
||||
}
|
||||
|
||||
function sortLegend(e) {
|
||||
|
Loading…
Reference in New Issue
Block a user