mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Fixed #315 - Patreon linking hits rate limit
Had an extra rerender() in there.
This commit is contained in:
parent
2155015bb6
commit
15724bc78d
@ -31,8 +31,6 @@ beestat.component.modal.patreon_status.prototype.decorate_contents_ = function(p
|
|||||||
* @param {rocket.Elements} parent
|
* @param {rocket.Elements} parent
|
||||||
*/
|
*/
|
||||||
beestat.component.modal.patreon_status.prototype.decorate_wait_ = function(parent) {
|
beestat.component.modal.patreon_status.prototype.decorate_wait_ = function(parent) {
|
||||||
var self = this;
|
|
||||||
|
|
||||||
parent.appendChild(
|
parent.appendChild(
|
||||||
$.createElement('div')
|
$.createElement('div')
|
||||||
.style({
|
.style({
|
||||||
@ -47,7 +45,6 @@ beestat.component.modal.patreon_status.prototype.decorate_wait_ = function(paren
|
|||||||
|
|
||||||
api.set_callback(function(response) {
|
api.set_callback(function(response) {
|
||||||
beestat.cache.set('user', response);
|
beestat.cache.set('user', response);
|
||||||
self.rerender();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
window.setTimeout(function() {
|
window.setTimeout(function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user