Fix Regression: In reply to
This commit is contained in:
parent
f6263749d4
commit
6096a447b7
|
@ -2,16 +2,14 @@
|
|||
|
||||
window.Discourse.ParentView = Discourse.EmbeddedPostView.extend({
|
||||
previousPost: true,
|
||||
/* Nice animation for when the replies appear
|
||||
*/
|
||||
|
||||
|
||||
// Nice animation for when the replies appear
|
||||
didInsertElement: function() {
|
||||
var $parentPost;
|
||||
this._super();
|
||||
$parentPost = this.get('postView').jQuery('section.parent-post');
|
||||
/* Animate unless we're on a touch device
|
||||
*/
|
||||
$parentPost = this.get('postView').$('section.parent-post');
|
||||
|
||||
// Animate unless we're on a touch device
|
||||
if (Discourse.get('touch')) {
|
||||
return $parentPost.show();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue