Skip to content

A platform for community discussion. Free, open, simple.

FIX: defer topic was broken

Robin Ward51a6e96b7f09
diff --git a/app/assets/javascripts/discourse/app/controllers/topic.js b/app/assets/javascripts/discourse/app/controllers/topic.js
index c6277af075d..6337c8d2c50 100644
--- a/app/assets/javascripts/discourse/app/controllers/topic.js
+++ b/app/assets/javascripts/discourse/app/controllers/topic.js
@@ -456,7 +456,8 @@ export default Controller.extend(bufferedProperty("model"), {
},
deferTopic() {
- const { screenTrack, currentUser, topic } = this;
+ const { screenTrack, currentUser } = this;
+ const topic = this.model;
screenTrack.reset();
screenTrack.stop();