commit e81eb433a3ac826ee3170631205f2c4bff7a47f5
parent 953b3aed7bf6ff3d7af82a75b28d2f76ff4bf0bc
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Tue, 15 Nov 2016 18:13:02 +0100
Fix check
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/screencap_iitc.js b/screencap_iitc.js
@@ -187,7 +187,7 @@ function afterPlainLogin(IntelURL, search) {
}
}
var checkExist1 = setInterval(function() {
- if ($('.map').length > 0) {
+ if (document.querySelector('.map')){
setTimeout(function() {
if (search != "nix") {
page.evaluate(function(search) {