Don't focus comment form on 'show n more comments'
This commit is contained in:
parent
e0812c9a0e
commit
71f03544e4
2 changed files with 2 additions and 4 deletions
|
|
@ -3,6 +3,7 @@
|
|||
## Refactor
|
||||
|
||||
## Bug fixes
|
||||
* Don't focus comment form on 'show n more comments' [#4265](https://github.com/diaspora/diaspora/issues/4265)
|
||||
|
||||
## Features
|
||||
|
||||
|
|
|
|||
|
|
@ -76,8 +76,7 @@ app.views.CommentStream = app.views.Base.extend({
|
|||
expandComments: function(evt){
|
||||
if(evt){ evt.preventDefault(); }
|
||||
|
||||
var localCommentValue = this.$("textarea").val(),
|
||||
self = this;
|
||||
self = this;
|
||||
|
||||
this.model.comments.fetch({
|
||||
success : function(resp){
|
||||
|
|
@ -87,8 +86,6 @@ app.views.CommentStream = app.views.Base.extend({
|
|||
})
|
||||
|
||||
self.model.trigger("commentsExpanded", self)
|
||||
|
||||
self.$("textarea").val(localCommentValue).focus()
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue