From a37ca1d378ae0bf3e78d1e2858d3dd6f6982c061 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 2 Aug 2020 16:58:15 -0400 Subject: Fix _setContentTermsOrKanjiUpdateAdderButtons not working (#709) this._setContentToken was cleared, so comparison exited. There is not really a good reason to clear this object. --- ext/mixed/js/display.js | 4 ---- 1 file changed, 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; - } } } -- cgit v1.2.3