[2.5] docblock

This commit is contained in:
Mike Jolley 2016-01-27 11:07:44 +00:00
parent 9ca216310d
commit 32b6e05eb1
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ jQuery( function( $ ) {
}
},
/**
* When the form is submitted, prevent if weak.
*/
onSubmit: function() {
$( '.woocommerce-password-error' ).remove();