aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-08-02 16:58:15 -0400
committerGitHub <noreply@github.com>2020-08-02 16:58:15 -0400
commita37ca1d378ae0bf3e78d1e2858d3dd6f6982c061 (patch)
treee99593b81fe92781d3f69a752a2b37e298d164a9
parentb1b33f8beb26f97d91cb282682472c65f6eccae8 (diff)
Fix _setContentTermsOrKanjiUpdateAdderButtons not working (#709)
this._setContentToken was cleared, so comparison exited. There is not really a good reason to clear this object.
-rw-r--r--ext/mixed/js/display.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index ab0f59a5..d1f92722 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -430,10 +430,6 @@ class Display extends EventDispatcher {
this.trigger('contentUpdated', eventArgs);
} catch (e) {
this.onError(e);
- } finally {
- if (this._setContentToken === token) {
- this._setContentToken = null;
- }
}
}