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
10
bot.js
10
bot.js
|
@ -109,16 +109,8 @@ function botFillIn(selector, text) {
|
||||||
function raidRefreshing() {
|
function raidRefreshing() {
|
||||||
if($('span[name="raidtime"]').css('display') == 'none') {
|
if($('span[name="raidtime"]').css('display') == 'none') {
|
||||||
return false;
|
return false;
|
||||||
}
|
} else {
|
||||||
|
|
||||||
switch($('span[name="raidtime"]').text().trim()) {
|
|
||||||
case '':
|
|
||||||
case '0 second(s) until you can raid again':
|
|
||||||
return false;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
return true;
|
return true;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue