diff --git a/public/js/app/fields/CreateCommentView.js b/public/js/app/fields/CreateCommentView.js index 5d54b69..c0f53e4 100644 --- a/public/js/app/fields/CreateCommentView.js +++ b/public/js/app/fields/CreateCommentView.js @@ -13,8 +13,9 @@ define(["app/app", "ember"], function(App, Ember) { }, becomeFocused: function() { - if (this.get('parentView.templateName') != 'post') + if (this.get('parentView.templateName') != 'post') { this.$().focus() + } }.on('didInsertElement') }) })