Bot code changed; display none good to check
This commit is contained in:
parent
c5765c8d7a
commit
15adfcd4e8
1 changed files with 2 additions and 10 deletions
12
bot.js
12
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue