Dashboard PNG export (#6644)
This commit is contained in:
committed by
Torkel Ödegaard
parent
167936f9b9
commit
f91fcaf5cf
Vendored
+2
-1
@@ -55,7 +55,8 @@
|
|||||||
|
|
||||||
var rootScope = body.injector().get('$rootScope');
|
var rootScope = body.injector().get('$rootScope');
|
||||||
if (!rootScope) {return false;}
|
if (!rootScope) {return false;}
|
||||||
return rootScope.panelsRendered;
|
var panels = angular.element('div.panel:visible').length;
|
||||||
|
return rootScope.panelsRendered >= panels;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (panelsRendered || tries === 1000) {
|
if (panelsRendered || tries === 1000) {
|
||||||
|
|||||||
Reference in New Issue
Block a user