Browse Source

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

Fixes #11099
Adrian Muraru 7 years ago
parent
commit
5377b82612
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/phantomjs/render.js

+ 1 - 1
tools/phantomjs/render.js

@@ -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;
         });
         });