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 c0395b53ac8..3f70e353b89 100644 --- a/app/assets/javascripts/discourse-common/mixins/focus-event.js.es6 +++ b/app/assets/javascripts/discourse-common/mixins/focus-event.js.es6 @@ -26,7 +26,7 @@ export default Ember.Mixin.create({ _onChange() { const container = getOwner(this); - const appEvents = container.lookup("app-events:main"); + const appEvents = container.lookup("service:app-events"); if (document.visibilityState === "hidden") { if (Discourse.hasFocus) {