DEV: removes dead coded (#8129)

DEV: removes dead coded (#8129)

As per sam:

discourse/app/assets/javascripts/discourse.js at b9ccf4d09c62fd87a3be0bd42ecd3ed036dd6129 · discourse/discourse · GitHub 1

We used to put (*) topic title for certain cases, something that we totally stopped doing.

diff --git a/app/assets/javascripts/discourse-common/mixins/focus-event.js.es6 b/app/assets/javascripts/discourse-common/mixins/focus-event.js.es6
index b5081fa..c0395b5 100644
--- a/app/assets/javascripts/discourse-common/mixins/focus-event.js.es6
+++ b/app/assets/javascripts/discourse-common/mixins/focus-event.js.es6
@@ -35,7 +35,7 @@ export default Ember.Mixin.create({
       }
     } else {
       if (!Discourse.hasFocus) {
-        Discourse.setProperties({ hasFocus: true, notify: false });
+        Discourse.set("hasFocus", true);
         appEvents.trigger("discourse:focus-changed", true);
       }
     }

GitHub sha: fb66ddf1

1 Like