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