Skip to content

Commit

Permalink
bring back missing function parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
mkazlauskas committed Nov 1, 2016
1 parent 3577c97 commit 647e3fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iron-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
/**
* Submits the form.
*/
submit: function() {
submit: function(event) {
// We are not using this form for submission, so always cancel its event.
if (event)
event.preventDefault();
Expand Down Expand Up @@ -216,7 +216,7 @@
/**
* Resets the form to the default values.
*/
reset: function() {
reset: function(event) {
if (event)
event.preventDefault();

Expand Down

0 comments on commit 647e3fc

Please sign in to comment.