Remember to stringify the new response too.

pull/520/head
Adam Treat 1 year ago
parent 2e0c9e4e13
commit 704ce45a39

@ -377,7 +377,7 @@ Window {
if (isResponse && item.thumbsUpState !== item.thumbsDownState)
str += ", \"rating\": \"" + (item.thumbsUpState ? "positive" : "negative") + "\"";
if (isResponse && item.newResponse !== "")
str += ", \"edited_content\": \"" + item.newResponse + "\"";
str += ", \"edited_content\": \"" + JSON.stringify(item.newResponse) + "\"";
if (isResponse && item.stopped)
str += ", \"stopped\": \"true\""
if (!isResponse)

Loading…
Cancel
Save