intel-screenbot

An Ingress Intel Map Bot for Hangoutsbot
git clone git://archive.git.mtrnord.blog/MTRNord/intel-screenbot.git
Log | Files | Refs | README | LICENSE

commit 46c65df06c68f6c646b6abcb98f78c163fd95c11
parent 6b73cb4c974ef78a78b96c61f4dc1ea9a8dfa628
Author: Marcel <MTRNord@users.noreply.github.com>
Date:   Sat, 31 Dec 2016 21:25:54 +0100

Fix if's
Diffstat:
Mscreencap.js | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/screencap.js b/screencap.js @@ -277,11 +277,11 @@ function afterLogin(url, search, mode) { storeCookies(); } setupIITC() - if(screenshotfunction = "map"){ + if(screenshotfunction == "map"){ map(search); - }else if (screenshotfunction = "portalinfoScreen"){ + }else if (screenshotfunction == "portalinfoScreen"){ portalinfoScreen(file); - }else if (screenshotfunction = "portalinfoText"){ + }else if (screenshotfunction == "portalinfoText"){ portalinfoText(); } }, "1000");