Ignore disabled rakeback buttons
This commit is contained in:
parent
4bcc17231d
commit
ca2a14c904
@ -28,7 +28,7 @@ function runRoutines() {
|
||||
function collectRakeback() {
|
||||
$(RAKEBACK_AMOUNT_SELECTOR).each(function () {
|
||||
let button = $(this).parent().children('button').eq(0);
|
||||
if (button.text() == EMPTY_CLAIM) {
|
||||
if (button.text() == EMPTY_CLAIM || button.prop('disabled')) {
|
||||
console.log('Skipped an empty rakeback');
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user