Bug found when calling `displaySubmissionResult()` to display a success or error message to a user after a post request. The function does it's job perfectly on the first comment submission, but on consecutive comment submissions it does not run.
Bug found when calling
displaySubmissionResult()to display a success or error message to a user after a post request.The function does it's job perfectly on the first comment submission, but on consecutive comment submissions it does not run.