Bot code changed; display none good to check

This commit is contained in:
Andrew Tomaka 2015-04-10 18:20:38 -04:00
parent c5765c8d7a
commit 15adfcd4e8

12
bot.js
View file

@ -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;
}
}