Fix #3623: Changes to existing notes aren't being saved.

This commit is contained in:
evazion
2018-04-12 14:52:50 -05:00
parent 37ba6714d1
commit ad1ed5a510

View File

@@ -446,12 +446,12 @@ Danbooru.Note = {
width: $note_box.width() / ratio,
height: $note_box.height() / ratio,
body: $note_body.data("original-body"),
post_id: Danbooru.meta("post-id")
}
}
if ($note_box.data("id").match(/x/)) {
hash.note.html_id = $note_box.data("id");
hash.note.post_id = Danbooru.meta("post-id");
}
return hash;