소스 검색

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

Fixes #11099
Adrian Muraru 7 년 전
부모
커밋
5377b82612
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tools/phantomjs/render.js

+ 1 - 1
tools/phantomjs/render.js

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