mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Fixed #371 - Unable to start Direct Giving recurring support if Patreon is active?
This commit is contained in:
parent
62bcce806d
commit
dbaaf95a89
@ -226,6 +226,15 @@ beestat.component.card.contribute_status.prototype.decorate_patreon_ = function(
|
||||
link_button.render($(button_container));
|
||||
}
|
||||
}
|
||||
|
||||
if (beestat.user.patreon_is_active() === true) {
|
||||
const p = document.createElement('p');
|
||||
Object.assign(p.style, {
|
||||
'font-style': 'italic'
|
||||
});
|
||||
p.innerText = 'Want to switch to direct giving? First cancel your Patreon subscription and unlink your account.';
|
||||
parent.appendChild(p);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user