mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
refactoring: #10130
This commit is contained in:
@@ -19,7 +19,7 @@ module.directive('graphLegend', function(popoverSrv, $timeout) {
|
||||
var legendScrollbar;
|
||||
|
||||
scope.$on("$destroy", function() {
|
||||
if (!legendScrollbar) {
|
||||
if (legendScrollbar) {
|
||||
legendScrollbar.destroy();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user