зеркало из https://github.com/mozilla/treeherder.git
Bug 1218825 - Make zooming from main plot always work
It would fail the first time before.
This commit is contained in:
Родитель
ed8498710c
Коммит
605acbe264
|
@ -435,9 +435,8 @@ perf.controller('GraphsCtrl', [
|
|||
$('#graph').bind("plotunselected", plotUnselected);
|
||||
|
||||
$('#graph').bind("plotselected", function(event, ranges) {
|
||||
plotSelected(event, ranges);
|
||||
// Make overview graph display the selected range.
|
||||
$scope.plot.clearSelection();
|
||||
plotSelected(event, ranges);
|
||||
zoomGraph();
|
||||
});
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче