Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
Reset input after submitting a message
Browse files Browse the repository at this point in the history
  • Loading branch information
code-later authored and moonglum committed Jul 15, 2018
1 parent 2be1df4 commit 511e302
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ class AJAXForm extends HTMLFormElement {
},
body: serializeForm(this)
})

this.reset()
}

get method () {
Expand Down

0 comments on commit 511e302

Please sign in to comment.