mirror of
https://github.com/beestat/app.git
synced 2025-06-03 05:36:51 -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() {
|
beestat.component.card.patreon = function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
beestat.dispatcher.addEventListener('cache.user', function() {
|
beestat.dispatcher.addEventListener([
|
||||||
|
'cache.user',
|
||||||
|
'setting.patreon_hide_until'
|
||||||
|
], function() {
|
||||||
self.rerender();
|
self.rerender();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -45,7 +45,6 @@ beestat.component.modal.enjoy_beestat.prototype.hide_patreon_card_for_ = functio
|
|||||||
.add(amount, unit)
|
.add(amount, unit)
|
||||||
.format('YYYY-MM-DD HH:mm:ss')
|
.format('YYYY-MM-DD HH:mm:ss')
|
||||||
);
|
);
|
||||||
beestat.cards.patreon.dispose();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user