diff --git a/src/components/views/elements/PersistedElement.js b/src/components/views/elements/PersistedElement.js index deb1cd92e2..03aa9e0d6d 100644 --- a/src/components/views/elements/PersistedElement.js +++ b/src/components/views/elements/PersistedElement.js @@ -83,7 +83,7 @@ export default class PersistedElement extends React.Component { // for this, so we bodge it by listening for document resize and // the timeline_resize action. window.addEventListener('resize', this._repositionChild); - this.dispatcherRef = dis.register(this._onAction); + this._dispatcherRef = dis.register(this._onAction); } /**