aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/display-history.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-08-30 21:55:08 -0400
committerGitHub <noreply@github.com>2021-08-30 21:55:08 -0400
commit3e7f3af63c01e39577bdc548d0dc81e83020df78 (patch)
tree6d53659ed2ebd9a133e4aaa2f0056701983c4cd6 /ext/js/display/display-history.js
parentf565cc5a474c69a5096eaf19cb7c374fe01cb851 (diff)
Fix history replacement issue (#1917)
* Remove unused "history" field of event details * Change setContent history parameter to historyMode
Diffstat (limited to 'ext/js/display/display-history.js')
-rw-r--r--ext/js/display/display-history.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/display/display-history.js b/ext/js/display/display-history.js
index a6335521..449bec47 100644
--- a/ext/js/display/display-history.js
+++ b/ext/js/display/display-history.js
@@ -112,7 +112,7 @@ class DisplayHistory extends EventDispatcher {
}
_triggerStateChanged(synthetic) {
- this.trigger('stateChanged', {history: this, synthetic});
+ this.trigger('stateChanged', {synthetic});
}
_updateHistoryFromCurrent(replace) {