FIX: liking a post with replies expanded would cause glitch
This commit is contained in:
parent
dc8eb6d737
commit
b1567488b7
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue