-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comment takes 'undefined' after submit a comment #1698
Comments
I faced the same issue with CTRL + Enter shortcut. I'm not quite sure, but it could be a bug related to below function. Maybe |
@aligoren yeah I think is line 225, |
@rhymes So, should we check for undefined? For example; var newComment = {
}
var commentTemplate = newComment.comment_template || '' In the above example, |
yeah, I'm submitting a fix exactly like that :D |
Do it! I can't do this now because of I'm at work. Thx. |
Thanks you for fixing this so fast! 🚀 |
Describe the bug
Just after submitting a comment on an post, text area is not blank, but takes
undefined
as text value.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected to get a blank textarea with placeholder.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: