DEV: Rename variable to avoid conflict

approved
#1

DEV: Rename variable to avoid conflict

diff --git a/app/assets/javascripts/discourse/lib/screen-track.js.es6 b/app/assets/javascripts/discourse/lib/screen-track.js.es6
index a9e851f..bc2d63d 100644
--- a/app/assets/javascripts/discourse/lib/screen-track.js.es6
+++ b/app/assets/javascripts/discourse/lib/screen-track.js.es6
@@ -154,11 +154,12 @@ export default class {
           }
         })
           .then(() => {
-            if (controller) {
+            const topicController = this._topicController;
+            if (topicController) {
               const postNumbers = Object.keys(newTimings).map(v =>
                 parseInt(v, 10)
               );
-              controller.readPosts(topicId, postNumbers);
+              topicController.readPosts(topicId, postNumbers);
             }
           })
           .catch(e => {

GitHub sha: f4fd75ae

Approved #2