Skip to content

Commit 88086c1

Browse files
committed
renamed backend to server, tried to reduce size of jquery.form-validator.min.js
1 parent 1b12915 commit 88086c1

File tree

11 files changed

+137
-119
lines changed

11 files changed

+137
-119
lines changed

form-validator/date.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* @website http://formvalidator.net/#location-validators
1212
* @license Dual licensed under the MIT or GPL Version 2 licenses
13-
* @version 2.0.7
13+
* @version 2.0.9
1414
*/
1515
(function($) {
1616

form-validator/file.dev.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* @website http://formvalidator.net/
1212
* @license Dual licensed under the MIT or GPL Version 2 licenses
13-
* @version 2.0.7
13+
* @version 2.0.9
1414
*/
1515
(function($, window) {
1616

@@ -128,7 +128,10 @@
128128
*/
129129
$.formUtils.on('load', function() {
130130
$('input[type="file"]').filter('*[data-validation]').bind('change', function() {
131-
$(this).parent().find('.form-error').remove();
131+
$(this)
132+
.removeClass('error')
133+
.parent()
134+
.find('.form-error').remove();
132135
});
133136
});
134137

form-validator/file.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)