mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Fixed ability to hide Patreon banner for 1 month.
This commit is contained in:
parent
6adeb1c6a0
commit
6e9a67c987
@ -4,7 +4,10 @@
|
||||
beestat.component.card.patreon = function() {
|
||||
var self = this;
|
||||
|
||||
beestat.dispatcher.addEventListener('cache.user', function() {
|
||||
beestat.dispatcher.addEventListener([
|
||||
'cache.user',
|
||||
'setting.patreon_hide_until'
|
||||
], function() {
|
||||
self.rerender();
|
||||
});
|
||||
|
||||
|
@ -45,7 +45,6 @@ beestat.component.modal.enjoy_beestat.prototype.hide_patreon_card_for_ = functio
|
||||
.add(amount, unit)
|
||||
.format('YYYY-MM-DD HH:mm:ss')
|
||||
);
|
||||
beestat.cards.patreon.dispose();
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user