Update render.js

This commit is contained in:
Adrian Muraru 2018-09-22 00:49:50 +03:00 committed by GitHub
parent ba4d5ddaaa
commit b7feabdb58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@
function checkIsReady() {
var panelsRendered = page.evaluate(function() {
var panelCount = document.querySelectorAll('.panel').length;
var panelCount = document.querySelectorAll('plugin-component').length;
return window.panelsRendered >= panelCount;
});