commit 6706b9e17252a956fdfa39fe3d47fd8be8fe33b7
parent f017ced50c45ccbe1b92d6495cd42d064633dd3e
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Sun, 13 Nov 2016 03:03:56 +0100
Fix syntax
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/screencap_iitc.js b/screencap_iitc.js
@@ -194,7 +194,6 @@ function s(file) {
}
function hideDebris() {
- system.stdout.writeLine('hideDebris...');
window.setTimeout(function() {
page.evaluate(function() {
if (document.querySelector('#chat')) {document.querySelector('#chat').style.display = 'none';}
@@ -205,6 +204,7 @@ function hideDebris() {
if (document.querySelector('#scrollwrapper')) {document.querySelector('#scrollwrapper').style.display = 'none';}
if (document.querySelector('.leaflet-control-container')) {document.querySelector('.leaflet-control-container').style.display = 'none';}
});
+ }, 2000);
}
/**
@@ -215,7 +215,6 @@ function hideDebris() {
* @param {number} heightz
*/
function prepare(widthz, heightz, search) {
- system.stdout.writeLine('prepare...');
if (search == "nix") {
window.setTimeout(function() {
page.evaluate(function(w, h) {