From 18219c970064a62a66a589fd3f52092cc7b6e12b Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 10 Apr 2015 17:47:14 -0400 Subject: [PATCH] Sometimes raid box sticks on 0 (but not shown) --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index dbf0822..05c4fa0 100644 --- a/bot.js +++ b/bot.js @@ -107,7 +107,7 @@ function botFillIn(selector, text) { } function raidRefreshing() { - if($('span[name="raidtime"]').text().trim() == "") { + if($('span[name="raidtime"]').text().trim() == "" || $('span[name="raidtime"]').text().trim() == "0 second(s) until you can raid again") { return false; } else { return true;