mirror of
https://github.com/ansible/awx.git
synced 2026-01-24 16:01:20 -03:30
Fix cleanup of host-count-graph
This commit is contained in:
parent
f512cdf79d
commit
9bab35937c
@ -28,14 +28,7 @@ angular.module('DashboardGraphs').
|
||||
adjustGraphSize(license_graph, element);
|
||||
}
|
||||
|
||||
angular.element($window).on('resize', function() {
|
||||
|
||||
if(!license_graph) {
|
||||
return;
|
||||
}
|
||||
|
||||
adjustGraphSize(license_graph, element);
|
||||
});
|
||||
angular.element($window).on('resize', onResize);
|
||||
|
||||
element.on('$destroy', function() {
|
||||
angular.element($window).off('resize', onResize);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user