mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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],
|
var value = otherPost[key],
|
||||||
oldValue = self[key];
|
oldValue = self[key];
|
||||||
|
|
||||||
|
if (key === "replyHistory") {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!value) { value = null; }
|
if (!value) { value = null; }
|
||||||
if (!oldValue) { oldValue = null; }
|
if (!oldValue) { oldValue = null; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user