commit b8a070261284030a59d222cc92a89bfb38b7c707
parent 5f7394093b92c2ed33f41d127475cc3ee5d40cbd
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Sat, 10 Dec 2016 20:25:09 +0100
Fix Text again
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/screencap.js b/screencap.js
@@ -499,7 +499,7 @@ function addTimestamp(time) {
document.querySelectorAll('body')[0].appendChild(water);
}, time, search);
}else {
- page.evaluate(function(dateTime) {
+ page.evaluate(function(dateTime, search) {
var water = document.createElement('p');
water.id='watermark-ice';
water.style.zIndex = '4404';
@@ -515,7 +515,7 @@ function addTimestamp(time) {
water.style.fontFamily = 'monospace';
water.style.textShadow = '0px 1px 8px rgba(150, 150, 150, 1)';
document.querySelectorAll('body')[0].appendChild(water);
- }, time);
+ }, time, search);
}
}