Commit 5377b826 by Adrian Muraru Committed by Torkel Ödegaard

Phantom render.js is incorrectly retrieving number of active panels (#11100)

Fixes #11099
parent ef0b7bda
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
var rootScope = body.injector().get('$rootScope'); var rootScope = body.injector().get('$rootScope');
if (!rootScope) {return false;} if (!rootScope) {return false;}
var panels = angular.element('div.panel:visible').length; var panels = angular.element('plugin-component').length;
return rootScope.panelsRendered >= panels; return rootScope.panelsRendered >= panels;
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment