From 15724bc78de9f3cf053aabfad8f3bfeda08d083f Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Wed, 27 Jan 2021 21:09:34 -0500 Subject: [PATCH] Fixed #315 - Patreon linking hits rate limit Had an extra rerender() in there. --- js/component/modal/patreon_status.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/component/modal/patreon_status.js b/js/component/modal/patreon_status.js index 8bbeced..c76022c 100644 --- a/js/component/modal/patreon_status.js +++ b/js/component/modal/patreon_status.js @@ -31,8 +31,6 @@ beestat.component.modal.patreon_status.prototype.decorate_contents_ = function(p * @param {rocket.Elements} parent */ beestat.component.modal.patreon_status.prototype.decorate_wait_ = function(parent) { - var self = this; - parent.appendChild( $.createElement('div') .style({ @@ -47,7 +45,6 @@ beestat.component.modal.patreon_status.prototype.decorate_wait_ = function(paren api.set_callback(function(response) { beestat.cache.set('user', response); - self.rerender(); }); window.setTimeout(function() {