Ignore disabled rakeback buttons

This commit is contained in:
Abhorrent_Anger 2025-06-03 10:45:02 +03:00
parent 4bcc17231d
commit ca2a14c904

View File

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