diff --git a/4chan_x.user.js b/4chan_x.user.js index 39d667293..2ead934f9 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3476,7 +3476,8 @@ return self.textContent = tc; }, error: function(self) { - return self.textContent = 'Error'; + self.textContent = 'Error'; + return $.on('click', self, DeleteButton["delete"]); } }; diff --git a/script.coffee b/script.coffee index b8f1b1b89..24f45f327 100644 --- a/script.coffee +++ b/script.coffee @@ -2655,6 +2655,7 @@ DeleteButton = self.textContent = tc error: (self) -> self.textContent = 'Error' + $.on 'click', self, DeleteButton.delete ReportButton = init: ->