2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

Various fixes for Ember 2.10

This commit is contained in:
Robin Ward 2016-12-09 16:02:35 -05:00
parent 2efe4900cf
commit 9a7998a930
25 changed files with 73 additions and 101 deletions

View file

@ -297,7 +297,7 @@ export default Ember.Component.extend({
},
_applyCategoryHashtagAutocomplete() {
const template = this.register.lookup('raw-template:category-tag-autocomplete');
const template = Discourse.RAW_TEMPLATES['category-tag-autocomplete'];
const siteSettings = this.siteSettings;
this.$('.d-editor-input').autocomplete({
@ -323,7 +323,7 @@ export default Ember.Component.extend({
if (!this.siteSettings.enable_emoji) { return; }
const register = this.register;
const template = this.register.lookup('raw-template:emoji-selector-autocomplete');
const template = Discourse.RAW_TEMPLATES['emoji-selector-autocomplete'];
const self = this;
$editorInput.autocomplete({