mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -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],
|
||||
oldValue = self[key];
|
||||
|
||||
if (key === "replyHistory") {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!value) { value = null; }
|
||||
if (!oldValue) { oldValue = null; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user