diff --git a/public/react/src/modules/tpm/challengesnew/TPManswer2.js b/public/react/src/modules/tpm/challengesnew/TPManswer2.js index b5e1b43a6..ef850994d 100644 --- a/public/react/src/modules/tpm/challengesnew/TPManswer2.js +++ b/public/react/src/modules/tpm/challengesnew/TPManswer2.js @@ -174,6 +174,9 @@ export default class TPManswer extends Component { if (response.data.message) { this.props.showSnackbar(response.data.message); } + if (response.data.status == 1) { + $("html").animate({ scrollTop: 0 }) + } } }).catch((error) => {