From 096c081a80f4c49ad381d1b08f75eacd89cb1773 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Wed, 20 Jun 2012 20:58:24 +0200 Subject: [PATCH] Delete QR.ajax on abort. --- 4chan_x.user.js | 1 + script.coffee | 1 + 2 files changed, 2 insertions(+) diff --git a/4chan_x.user.js b/4chan_x.user.js index 97854fb37..592a2d146 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -2200,6 +2200,7 @@ if ((_ref = QR.ajax) != null) { _ref.abort(); } + delete QR.ajax; return QR.status(); } }; diff --git a/script.coffee b/script.coffee index 4fbe30606..6d2374bb6 100644 --- a/script.coffee +++ b/script.coffee @@ -1682,6 +1682,7 @@ QR = abort: -> QR.ajax?.abort() + delete QR.ajax QR.status() Options =