mirror of
https://github.com/neocities/neocities.git
synced 2025-07-24 19:38:25 +02:00
editing for profile comments
This commit is contained in:
parent
f681e6c704
commit
6277a94a5b
12 changed files with 80 additions and 13 deletions
|
@ -9,7 +9,7 @@ Comment.prototype.create = function(form) {
|
|||
var comment = form.find('[name="comment"]').val()
|
||||
form.remove()
|
||||
|
||||
$.post('/event/'+this.eventId+'/comment', {csrf_token: this.csrfToken, comment: comment}, function(res) {
|
||||
$.post('/event/'+this.eventId+'/comment', {csrf_token: this.csrfToken, message: comment}, function(res) {
|
||||
console.log(res)
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue