Fix _setContentTermsOrKanjiUpdateAdderButtons not working (#709)

this._setContentToken was cleared, so comparison exited.
There is not really a good reason to clear this object.
This commit is contained in:
toasted-nutbread 2020-08-02 16:58:15 -04:00 committed by GitHub
parent b1b33f8beb
commit a37ca1d378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}
}