Browse Source

Removed useless attribute

Brendan Abolivier 8 years ago
parent
commit
2d7d9bb6ee
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      front/form.js

+ 0
- 2
front/form.js View File

@@ -150,8 +150,6 @@ function getSubmitButton(id, text) {
150 150
     
151 151
     button.setAttribute('type', 'submit');
152 152
     button.setAttribute('id', id);
153
-    // Disable button's default action
154
-    button.setAttribute('onSubmit', 'return false;');
155 153
     
156 154
     button.innerHTML = text;
157 155