From 02250bd91f6618caf95447e113040d6df48d6166 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 16 Oct 2019 10:50:43 +0200 Subject: [PATCH] DEV: removes one deprecation with app-events:main --- .../javascripts/discourse-common/mixins/focus-event.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {