diff --git a/web/app/components/comment/comment.jsx b/web/app/components/comment/comment.jsx index 4b325ac8..a7482898 100644 --- a/web/app/components/comment/comment.jsx +++ b/web/app/components/comment/comment.jsx @@ -439,10 +439,7 @@ export default class Comment extends Component {
- + {o.title}
diff --git a/web/app/components/input/input.jsx b/web/app/components/input/input.jsx index c1197ecf..8fe1aa55 100644 --- a/web/app/components/input/input.jsx +++ b/web/app/components/input/input.jsx @@ -73,9 +73,10 @@ export default class Input extends Component { this.setState({ isDisabled: true, isErrorShown: false }); - const request = mods.mode === 'edit' - ? api.updateComment({ text, id }) - : api.addComment({ title: pageTitle || document.title, text, ...(pid ? { pid } : {}) }); + const request = + mods.mode === 'edit' + ? api.updateComment({ text, id }) + : api.addComment({ title: pageTitle || document.title, text, ...(pid ? { pid } : {}) }); request .then(comment => {