mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
FIX: puts focus-event at application level (#7568)
Also attempts to use simpler and newer APIs
This commit is contained in:
@ -4,10 +4,11 @@ import {
|
||||
default as computed,
|
||||
observes
|
||||
} from "ember-addons/ember-computed-decorators";
|
||||
import FocusEvent from "discourse-common/mixins/focus-event";
|
||||
|
||||
const _pluginCallbacks = [];
|
||||
|
||||
const Discourse = Ember.Application.extend({
|
||||
const Discourse = Ember.Application.extend(FocusEvent, {
|
||||
rootElement: "#main",
|
||||
_docTitle: document.title,
|
||||
RAW_TEMPLATES: {},
|
||||
|
Reference in New Issue
Block a user