diff --git a/app/assets/javascripts/discourse/models/post.js b/app/assets/javascripts/discourse/models/post.js index 6463b90ad..fa7b5c439 100644 --- a/app/assets/javascripts/discourse/models/post.js +++ b/app/assets/javascripts/discourse/models/post.js @@ -303,7 +303,8 @@ Discourse.Post = Discourse.Model.extend({ var post = this; Object.keys(otherPost).forEach(function (key) { var value = otherPost[key]; - var oldValue = post.get(key); + // optimisation + var oldValue = post[key]; if(!value) { value = null;