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

Fixes #11099
This commit is contained in:
Adrian Muraru 2018-05-08 17:05:22 +03:00 committed by Torkel Ödegaard
parent ef0b7bda6f
commit 5377b82612

View File

@ -57,7 +57,7 @@
var rootScope = body.injector().get('$rootScope');
if (!rootScope) {return false;}
var panels = angular.element('div.panel:visible').length;
var panels = angular.element('plugin-component').length;
return rootScope.panelsRendered >= panels;
});