commit 4d6798873826c0686802efe8a5b49bd1fa31f26c
parent a26881e54a05a38a86ad31f55b15056eafcfbc14
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Tue, 7 Feb 2017 15:23:04 +0100
Hide head
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/screencap.js b/screencap.js
@@ -237,6 +237,9 @@ function portalinfoScreen(){
var clipRect = page.evaluate(function(){
return document.querySelector('#sidebar').getBoundingClientRect();
});
+ page.evaluate(function(){
+ document.querySelector('#playerstat').style.display = 'none';
+ });
setTimeout(function() {
var elementHeight = page.evaluate(function(){
return $("#sidebar").height();