From fe3fa287355a5f76c65914bff11d453e0e735239 Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Thu, 9 May 2019 16:09:56 +0100 Subject: [PATCH] lint --- opentech/static_src/src/javascript/apply/edit-comment.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/opentech/static_src/src/javascript/apply/edit-comment.js b/opentech/static_src/src/javascript/apply/edit-comment.js index 6ac527432..9d2ac4552 100644 --- a/opentech/static_src/src/javascript/apply/edit-comment.js +++ b/opentech/static_src/src/javascript/apply/edit-comment.js @@ -70,9 +70,7 @@ body: JSON.stringify({ message: editedComment }) - - }).then(response => response.json()) - .then(data => { + }).then(response => response.json()).then(data => { updateComment(commentContainer, data.id, data.message); updateLastEdited(this, data.edited); showComment(this); -- GitLab