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:
parent
b1b33f8beb
commit
a37ca1d378
@ -430,10 +430,6 @@ class Display extends EventDispatcher {
|
|||||||
this.trigger('contentUpdated', eventArgs);
|
this.trigger('contentUpdated', eventArgs);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.onError(e);
|
this.onError(e);
|
||||||
} finally {
|
|
||||||
if (this._setContentToken === token) {
|
|
||||||
this._setContentToken = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user