From 15adfcd4e894d8a0ee802242b33e1f36bbf71113 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 10 Apr 2015 18:20:38 -0400 Subject: [PATCH] Bot code changed; display none good to check --- bot.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/bot.js b/bot.js index 68c4872..b647039 100644 --- a/bot.js +++ b/bot.js @@ -109,16 +109,8 @@ function botFillIn(selector, text) { function raidRefreshing() { if($('span[name="raidtime"]').css('display') == 'none') { return false; - } - - switch($('span[name="raidtime"]').text().trim()) { - case '': - case '0 second(s) until you can raid again': - return false; - break; - default: - return true; - break; + } else { + return true; } }