FIX: liking a post with replies expanded would cause glitch

This commit is contained in:
Sam 2014-09-24 18:24:02 +10:00
parent dc8eb6d737
commit b1567488b7

View File

@ -296,6 +296,10 @@ Discourse.Post = Discourse.Model.extend({
var value = otherPost[key],
oldValue = self[key];
if (key === "replyHistory") {
return;
}
if (!value) { value = null; }
if (!oldValue) { oldValue = null; }